switch to nixos-unstable as main channel
This commit is contained in:
parent
c634652369
commit
4e744af2db
|
@ -1,10 +1,5 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
let
|
|
||||||
unstable = import <nixos-unstable> {
|
|
||||||
config = removeAttrs config.nixpkgs.config [ "packageOverrides" ];
|
|
||||||
};
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
|
|
||||||
with pkgs;
|
with pkgs;
|
||||||
let
|
let
|
||||||
unstable = import <nixos-unstable> {
|
|
||||||
config = removeAttrs config.nixpkgs.config [ "packageOverrides" ];
|
|
||||||
};
|
|
||||||
dotnet-sdk_3 = pkgs.callPackage (import (pkgs.fetchFromGitHub {
|
dotnet-sdk_3 = pkgs.callPackage (import (pkgs.fetchFromGitHub {
|
||||||
name = "nixos-pr-dotnet-sdk_3";
|
name = "nixos-pr-dotnet-sdk_3";
|
||||||
owner = "juselius";
|
owner = "juselius";
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
with pkgs;
|
with pkgs;
|
||||||
let
|
|
||||||
unstable = import <nixos-unstable> {
|
|
||||||
config = removeAttrs config.nixpkgs.config [ "packageOverrides" ];
|
|
||||||
};
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./common/sh.nix
|
./common/sh.nix
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
with pkgs;
|
with pkgs;
|
||||||
let
|
|
||||||
unstable = import <nixos-unstable> {
|
|
||||||
config = removeAttrs config.nixpkgs.config [ "packageOverrides" ];
|
|
||||||
};
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./common/sh.nix
|
./common/sh.nix
|
||||||
|
@ -45,12 +40,12 @@ in
|
||||||
haskellPackages.ghc
|
haskellPackages.ghc
|
||||||
|
|
||||||
# gaming
|
# gaming
|
||||||
unstable.steam
|
steam
|
||||||
unstable.linux-steam-integration
|
linux-steam-integration
|
||||||
unstable.lutris
|
lutris
|
||||||
|
|
||||||
# other
|
# other
|
||||||
unstable.ledger-live-desktop
|
ledger-live-desktop
|
||||||
];
|
];
|
||||||
|
|
||||||
home.stateVersion = "19.09";
|
home.stateVersion = "19.09";
|
||||||
|
|
|
@ -19,8 +19,8 @@ ln -s $CONFIG configuration.nix
|
||||||
nixos-generate-config --root /mnt
|
nixos-generate-config --root /mnt
|
||||||
|
|
||||||
# add nixos-unstable and home-manager channels
|
# add nixos-unstable and home-manager channels
|
||||||
nix-channel --add https://nixos.org/channels/nixos-unstable nixos-unstable
|
nix-channel --add https://nixos.org/channels/nixos-unstable nixos
|
||||||
nix-channel --add https://github.com/rycee/home-manager/archive/release-19.03.tar.gz home-manager
|
nix-channel --add https://github.com/rycee/home-manager/archive/master.tar.gz home-manager
|
||||||
nix-channel --update
|
nix-channel --update
|
||||||
|
|
||||||
nixos-install
|
nixos-install
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
let
|
|
||||||
unstable = import <nixos-unstable> {
|
|
||||||
config = removeAttrs config.nixpkgs.config [ "packageOverrides" ];
|
|
||||||
};
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
Loading…
Reference in a new issue