Refactor: Replace users with home
This commit is contained in:
parent
36a22dc58a
commit
aaaf4808f3
65 changed files with 17 additions and 25 deletions
|
@ -1,50 +0,0 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../../modules/desktop/apps/communication.nix
|
||||
../../modules/desktop/apps/games.nix
|
||||
../../modules/desktop/apps/multimedia.nix
|
||||
./persist.nix
|
||||
./packages/nh.nix
|
||||
./packages/zsh/zsh.nix
|
||||
./packages/virt-manager.nix
|
||||
];
|
||||
|
||||
environment.variables = {
|
||||
ZDOTDIR = "/home/hu/.config/zsh";
|
||||
EDITOR = "nvim";
|
||||
};
|
||||
|
||||
users.users.hu = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "libvirtd" ];
|
||||
shell = pkgs.zsh;
|
||||
hashedPasswordFile = "/nix/config/secrets/hu/pass";
|
||||
};
|
||||
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
users.hu = {
|
||||
home.username = "hu";
|
||||
home.homeDirectory = "/home/hu";
|
||||
home.stateVersion = config.system.stateVersion;
|
||||
|
||||
imports = [
|
||||
./packages/zsh/zsh-home.nix
|
||||
./packages/git.nix
|
||||
./packages/gtk.nix
|
||||
./packages/hyprland.nix
|
||||
./packages/foot.nix
|
||||
./packages/firefox.nix
|
||||
./packages/rofi.nix
|
||||
./packages/fastfetch.nix
|
||||
./packages/nvim/neovim.nix
|
||||
./packages/waybar.nix
|
||||
./packages/virt-manager-home.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue