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