added home manger to all flakes
This commit is contained in:
parent
89c8c729fa
commit
bba88fc3fe
|
@ -14,9 +14,6 @@
|
||||||
# Enable networking
|
# Enable networking
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
# Set your time zone.
|
|
||||||
# time.timeZone = "America/Chicago";
|
|
||||||
|
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
|
|
||||||
i18n.extraLocaleSettings = {
|
i18n.extraLocaleSettings = {
|
||||||
|
|
|
@ -107,7 +107,7 @@
|
||||||
"${config.sops.secrets."services/pi-hole".path}:${passwordFileLocation}"
|
"${config.sops.secrets."services/pi-hole".path}:${passwordFileLocation}"
|
||||||
];
|
];
|
||||||
environment = {
|
environment = {
|
||||||
TZ = config.time.timeZone;
|
TZ = "America/Chicago";
|
||||||
WEBPASSWORD_FILE = passwordFileLocation;
|
WEBPASSWORD_FILE = passwordFileLocation;
|
||||||
PIHOLE_UID = toString config.users.users.pihole.uid;
|
PIHOLE_UID = toString config.users.users.pihole.uid;
|
||||||
PIHOLE_GID = toString config.users.groups.pihole.gid;
|
PIHOLE_GID = toString config.users.groups.pihole.gid;
|
||||||
|
|
20
flake.nix
20
flake.nix
|
@ -69,23 +69,27 @@
|
||||||
horizon = nixpkgs.lib.nixosSystem {
|
horizon = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = {inherit inputs;};
|
specialArgs = {inherit inputs;};
|
||||||
modules = [
|
modules = [
|
||||||
./hosts/horizon/configuration.nix
|
home-manager.nixosModules.home-manager {
|
||||||
nixos-hardware.nixosModules.framework-11th-gen-intel
|
|
||||||
home-manager.nixosModules.home-manager
|
|
||||||
{
|
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.backupFileExtension = "backup";
|
home-manager.backupFileExtension = "backup";
|
||||||
home-manager.extraSpecialArgs = { inherit inputs; };
|
home-manager.extraSpecialArgs = { inherit inputs; };
|
||||||
}
|
}
|
||||||
|
./hosts/horizon/configuration.nix
|
||||||
|
nixos-hardware.nixosModules.framework-11th-gen-intel
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
# Leyla Desktop
|
# Leyla Desktop
|
||||||
twilight = nixpkgs.lib.nixosSystem {
|
twilight = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = {inherit inputs;};
|
specialArgs = {inherit inputs;};
|
||||||
modules = [
|
modules = [
|
||||||
|
home-manager.nixosModules.home-manager {
|
||||||
|
home-manager.useGlobalPkgs = true;
|
||||||
|
home-manager.useUserPackages = true;
|
||||||
|
home-manager.backupFileExtension = "backup";
|
||||||
|
home-manager.extraSpecialArgs = { inherit inputs; };
|
||||||
|
}
|
||||||
./hosts/twilight/configuration.nix
|
./hosts/twilight/configuration.nix
|
||||||
home-manager.nixosModules.default
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
# NAS Service
|
# NAS Service
|
||||||
|
@ -93,6 +97,12 @@
|
||||||
specialArgs = {inherit inputs;};
|
specialArgs = {inherit inputs;};
|
||||||
modules = [
|
modules = [
|
||||||
disko.nixosModules.disko
|
disko.nixosModules.disko
|
||||||
|
home-manager.nixosModules.home-manager {
|
||||||
|
home-manager.useGlobalPkgs = true;
|
||||||
|
home-manager.useUserPackages = true;
|
||||||
|
home-manager.backupFileExtension = "backup";
|
||||||
|
home-manager.extraSpecialArgs = { inherit inputs; };
|
||||||
|
}
|
||||||
./hosts/defiant/disko-config.nix
|
./hosts/defiant/disko-config.nix
|
||||||
./hosts/defiant/configuration.nix
|
./hosts/defiant/configuration.nix
|
||||||
];
|
];
|
||||||
|
|
|
@ -14,6 +14,10 @@
|
||||||
../../enviroments/server
|
../../enviroments/server
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
home-manager.users.leyla.config = {
|
||||||
|
isThinUser = true;
|
||||||
|
};
|
||||||
users.leyla.isThinUser = true;
|
users.leyla.isThinUser = true;
|
||||||
|
|
||||||
boot.loader.grub = {
|
boot.loader.grub = {
|
||||||
|
|
|
@ -14,11 +14,13 @@
|
||||||
../../enviroments/client
|
../../enviroments/client
|
||||||
];
|
];
|
||||||
|
|
||||||
users = {
|
home-manager.users.leyla.config = {
|
||||||
leyla = {
|
|
||||||
isFullUser = true;
|
isFullUser = true;
|
||||||
hasGPU = true;
|
hasGPU = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
users = {
|
||||||
|
leyla.isFullUser = true;
|
||||||
ester.isFullUser = true;
|
ester.isFullUser = true;
|
||||||
eve.isFullUser = true;
|
eve.isFullUser = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue