This commit is contained in:
iFargle 2023-07-13 18:25:41 +09:00
parent 15afdf081e
commit f5e20cefd2
2 changed files with 10 additions and 13 deletions

View file

@ -70,8 +70,8 @@
home-manager.nixosModules.home-manager { home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.users.albert = import ./users/albert/home.nix; home-manager.users.albert = import ./users/albert/home.nix { inherit hostname; };
home-manager.users.root = import ./users/root/home.nix; home-manager.users.root = import ./users/root/home.nix { inherit hostname; };
nixpkgs.overlays = [ nixpkgs.overlays = [
nur.overlay nur.overlay
]; ];

View file

@ -1,6 +1,4 @@
{ config, pkgs, hostname, ... }: { { config, pkgs, hostname, ... }: {
let hostname = ${hostname}
in {
home.stateVersion = "23.05"; home.stateVersion = "23.05";
imports = [ imports = [
../../hosts/${hostname}/gnome-dconf.nix ../../hosts/${hostname}/gnome-dconf.nix
@ -10,4 +8,3 @@
../../home-manager/firefox.nix ../../home-manager/firefox.nix
]; ];
} }
}