Created
December 20, 2017 23:36
-
-
Save cmiles74/f9cb11ad5be646884384ec1289ae533d to your computer and use it in GitHub Desktop.
Nix Configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, ... }: | |
{ | |
imports = | |
[ # Include the results of the hardware scan. | |
./hardware-configuration.nix | |
]; | |
nixpkgs.config = { | |
# Allow proprietary packages | |
allowUnfree = true; | |
# Create an alias for the unstable channel | |
packageOverrides = pkgs: { | |
personal = import /home/cmiles/nixpkgs/default.nix { | |
# pass the nixpkgs config to the unstable alias | |
# to ensure `allowUnfree = true;` is propagated: | |
config = config.nixpkgs.config; | |
}; | |
}; | |
}; | |
...ELLIDED... | |
environment = { | |
systemPackages = with pkgs; [ | |
pkgs.mkpasswd | |
pkgs.emacs25-nox | |
pkgs.networkmanager | |
pkgs.xz | |
pkgs.squashfsTools | |
personal.snapd | |
]; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment