disable nix config for non nixos machines
This commit is contained in:
parent
523ddfd122
commit
c9ce9d2c90
|
|
@ -89,6 +89,7 @@
|
||||||
games = import ./modules/home-manager/games;
|
games = import ./modules/home-manager/games;
|
||||||
mediacenter = import ./modules/home-manager/mediacenter;
|
mediacenter = import ./modules/home-manager/mediacenter;
|
||||||
user = import ./modules/home-manager/user;
|
user = import ./modules/home-manager/user;
|
||||||
|
binary-cache = import ./modules/home-manager/binary-cache;
|
||||||
};
|
};
|
||||||
homeConfigurations =
|
homeConfigurations =
|
||||||
flakeLib.mkHomeConfiguration {
|
flakeLib.mkHomeConfiguration {
|
||||||
|
|
|
||||||
|
|
@ -7,19 +7,4 @@
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
home-manager
|
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="
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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="
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -11,6 +11,7 @@
|
||||||
outputs.homeManagerModules.development
|
outputs.homeManagerModules.development
|
||||||
outputs.homeManagerModules.games
|
outputs.homeManagerModules.games
|
||||||
outputs.homeManagerModules.user
|
outputs.homeManagerModules.user
|
||||||
|
outputs.homeManagerModules.binary-cache
|
||||||
];
|
];
|
||||||
home.stateVersion = "23.11";
|
home.stateVersion = "23.11";
|
||||||
desktop = {
|
desktop = {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue