added home manger to all flakes

This commit is contained in:
Leyla Becker 2024-10-03 16:38:51 +02:00
parent 89c8c729fa
commit bba88fc3fe
5 changed files with 26 additions and 13 deletions

View file

@ -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 = {

View file

@ -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;

View file

@ -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
]; ];

View file

@ -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 = {

View file

@ -14,11 +14,13 @@
../../enviroments/client ../../enviroments/client
]; ];
home-manager.users.leyla.config = {
isFullUser = true;
hasGPU = true;
};
users = { users = {
leyla = { leyla.isFullUser = true;
isFullUser = true;
hasGPU = true;
};
ester.isFullUser = true; ester.isFullUser = true;
eve.isFullUser = true; eve.isFullUser = true;
}; };