remove cache
This commit is contained in:
@@ -20,11 +20,12 @@ in {
|
||||
nix = {
|
||||
optimise.automatic = cfg.optimise;
|
||||
settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
settings.substituters =
|
||||
lib.mkIf (config.networking.hostName == "kop-pc")
|
||||
[ "http://192.168.0.20:5000" ];
|
||||
settings.trusted-public-keys =
|
||||
[ "amd-server:r5S7vv/3sZ0knhMvpUzRHXFlBHgov2tLhtoKqLXYf28=" ];
|
||||
# not used
|
||||
#settings.substituters =
|
||||
# lib.mkIf (config.networking.hostName == "kop-pc")
|
||||
# [ "http://192.168.0.20:5000" ];
|
||||
#settings.trusted-public-keys =
|
||||
# [ "amd-server:r5S7vv/3sZ0knhMvpUzRHXFlBHgov2tLhtoKqLXYf28=" ];
|
||||
registry.nixpkgs.flake = pkgsVersion;
|
||||
gc = {
|
||||
automatic = true;
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
./hardware-configuration.nix
|
||||
../../modules/kernel.nix
|
||||
../../modules/services/ssh.nix
|
||||
../../modules/services/nix-cache.nix
|
||||
];
|
||||
|
||||
custom = {
|
||||
|
||||
@@ -134,13 +134,14 @@
|
||||
#}
|
||||
];
|
||||
|
||||
# not worth it
|
||||
# https://github.com/NixOS/nixpkgs/blob/master/lib/systems/architectures.nix
|
||||
nix.settings.system-features = ["znver3" "gccarch-znver3" ];
|
||||
nixpkgs.hostPlatform = {
|
||||
gcc.arch = "znver3";
|
||||
gcc.tune = "znver3";
|
||||
system = "x86_64-linux";
|
||||
};
|
||||
#nix.settings.system-features = ["znver3" "gccarch-znver3" ];
|
||||
#nixpkgs.hostPlatform = {
|
||||
# gcc.arch = "znver3";
|
||||
# gcc.tune = "znver3";
|
||||
# system = "x86_64-linux";
|
||||
#};
|
||||
|
||||
# fix index
|
||||
services.xserver.extraConfig = ''
|
||||
|
||||
Reference in New Issue
Block a user