Add nix configuration to droid
This commit is contained in:
parent
e5be86a89f
commit
818294bddd
|
@ -8,4 +8,21 @@ in
|
|||
];
|
||||
|
||||
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
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue