Install nonfree packages inline with home-manager
This commit is contained in:
parent
8ea69c6f23
commit
d1dbf62076
|
@ -13,11 +13,9 @@
|
|||
];
|
||||
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||
"factorio-alpha"
|
||||
"steam"
|
||||
"steam-original"
|
||||
"steam-run"
|
||||
"discord"
|
||||
];
|
||||
|
||||
# https://discourse.nixos.org/t/github-strategies-for-configuration-nix/1983/14
|
||||
|
@ -120,6 +118,12 @@
|
|||
users.users.chandler.description = "Chandler Swift";
|
||||
users.users.chandler.extraGroups = [ "networkmanager" "wheel" "dialout" "cdrom" ];
|
||||
home-manager.users.chandler = { pkgs, ... }: {
|
||||
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||
"factorio-alpha"
|
||||
"discord"
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
# applications
|
||||
blender
|
||||
|
@ -150,6 +154,10 @@
|
|||
clang
|
||||
go
|
||||
rustc
|
||||
|
||||
# Unfree:
|
||||
discord
|
||||
factorio
|
||||
];
|
||||
|
||||
programs.bash.enable = true;
|
||||
|
@ -242,8 +250,6 @@
|
|||
environment.systemPackages = with pkgs; [
|
||||
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||
# wget
|
||||
discord
|
||||
factorio
|
||||
];
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
|
|
Loading…
Reference in a new issue