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,13 +1,10 @@
{ config, pkgs, hostname, ... }: { { config, pkgs, hostname, ... }: {
let hostname = ${hostname} home.stateVersion = "23.05";
in { imports = [
home.stateVersion = "23.05"; ../../hosts/${hostname}/gnome-dconf.nix
imports = [ ../../home-manager/git.nix
../../hosts/${hostname}/gnome-dconf.nix ../../home-manager/neovim.nix
../../home-manager/git.nix ../../home-manager/bash.nix
../../home-manager/neovim.nix ../../home-manager/firefox.nix
../../home-manager/bash.nix ];
../../home-manager/firefox.nix
];
}
} }