disable nix config for non nixos machines

This commit is contained in:
Patrick Neff 2024-04-15 00:00:01 +02:00
parent 523ddfd122
commit c9ce9d2c90
4 changed files with 17 additions and 15 deletions

View File

@ -89,6 +89,7 @@
games = import ./modules/home-manager/games;
mediacenter = import ./modules/home-manager/mediacenter;
user = import ./modules/home-manager/user;
binary-cache = import ./modules/home-manager/binary-cache;
};
homeConfigurations =
flakeLib.mkHomeConfiguration {

View File

@ -7,19 +7,4 @@
home.packages = with pkgs; [
home-manager
];
nix = {
package = pkgs.nix;
settings = {
substituters = [
"http://nixcache.odie.intranet"
"https://nix-community.cachix.org"
"https://cache.nixos.org/"
];
trusted-public-keys = [
"nixcache.odie.intranet:2j5qAVmtBUSZMPWlIRS8Gn0Il9tbotJ9c2y43N0RLKU="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
};
}

View File

@ -0,0 +1,15 @@
{
nix = {
settings = {
substituters = [
"http://nixcache.odie.intranet"
"https://nix-community.cachix.org"
"https://cache.nixos.org/"
];
trusted-public-keys = [
"nixcache.odie.intranet:2j5qAVmtBUSZMPWlIRS8Gn0Il9tbotJ9c2y43N0RLKU="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
};
}

View File

@ -11,6 +11,7 @@
outputs.homeManagerModules.development
outputs.homeManagerModules.games
outputs.homeManagerModules.user
outputs.homeManagerModules.binary-cache
];
home.stateVersion = "23.11";
desktop = {