Add nix configuration to droid

This commit is contained in:
Nathan McCarty 2022-09-04 02:48:19 -04:00
parent e5be86a89f
commit 818294bddd
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
1 changed files with 17 additions and 0 deletions

View File

@ -8,4 +8,21 @@ in
]; ];
options = with lib; with nLib; { }; options = with lib; with nLib; { };
config = {
# Enable unfree packages
nixpkgs.config.allowUnfree = config.nathan.config.enableUnfree;
# Work around for discord jank ugh
nixpkgs.config.permittedInsecurePackages = [
"electron-13.6.9"
];
# Set system state version
system.stateVersion = "22.05";
# Enable flakes
# Enable nix flakes
nix.package = pkgs.nixFlakes;
nix.extraOptions = ''
experimental-features = nix-command flakes
'';
};
} }