switch to nixos-unstable as main channel

This commit is contained in:
Felix Schröter 2019-11-04 09:56:22 +01:00 committed by Felix Schröter
parent c634652369
commit 4e744af2db
6 changed files with 6 additions and 29 deletions

View file

@ -1,10 +1,5 @@
{ config, pkgs, ... }:
let
unstable = import <nixos-unstable> {
config = removeAttrs config.nixpkgs.config [ "packageOverrides" ];
};
in
{
imports = [
./hardware-configuration.nix

View file

@ -2,9 +2,6 @@
with pkgs;
let
unstable = import <nixos-unstable> {
config = removeAttrs config.nixpkgs.config [ "packageOverrides" ];
};
dotnet-sdk_3 = pkgs.callPackage (import (pkgs.fetchFromGitHub {
name = "nixos-pr-dotnet-sdk_3";
owner = "juselius";

View file

@ -1,11 +1,6 @@
{ config, pkgs, ... }:
with pkgs;
let
unstable = import <nixos-unstable> {
config = removeAttrs config.nixpkgs.config [ "packageOverrides" ];
};
in
{
imports = [
./common/sh.nix

View file

@ -1,11 +1,6 @@
{ config, pkgs, ... }:
with pkgs;
let
unstable = import <nixos-unstable> {
config = removeAttrs config.nixpkgs.config [ "packageOverrides" ];
};
in
{
imports = [
./common/sh.nix
@ -45,12 +40,12 @@ in
haskellPackages.ghc
# gaming
unstable.steam
unstable.linux-steam-integration
unstable.lutris
steam
linux-steam-integration
lutris
# other
unstable.ledger-live-desktop
ledger-live-desktop
];
home.stateVersion = "19.09";

View file

@ -19,8 +19,8 @@ ln -s $CONFIG configuration.nix
nixos-generate-config --root /mnt
# add nixos-unstable and home-manager channels
nix-channel --add https://nixos.org/channels/nixos-unstable nixos-unstable
nix-channel --add https://github.com/rycee/home-manager/archive/release-19.03.tar.gz home-manager
nix-channel --add https://nixos.org/channels/nixos-unstable nixos
nix-channel --add https://github.com/rycee/home-manager/archive/master.tar.gz home-manager
nix-channel --update
nixos-install

View file

@ -1,10 +1,5 @@
{ config, pkgs, ... }:
let
unstable = import <nixos-unstable> {
config = removeAttrs config.nixpkgs.config [ "packageOverrides" ];
};
in
{
imports = [
./hardware-configuration.nix