2024-03-18 11:58:34 +00:00
|
|
|
{ pkgs, inputs, user, ... }: {
|
|
|
|
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
|
|
|
home-manager = {
|
|
|
|
useUserPackages = true;
|
|
|
|
useGlobalPkgs = true;
|
|
|
|
extraSpecialArgs = { inherit pkgs inputs user; };
|
|
|
|
users.${user} = { pkgs, ... }: {
|
|
|
|
imports = [
|
|
|
|
inputs.sops-nix.homeManagerModules.sops
|
|
|
|
./sops
|
|
|
|
./programs/neovim
|
|
|
|
./programs/firefox
|
|
|
|
./programs/tmux
|
|
|
|
./programs/dunst
|
|
|
|
./programs/rofi
|
|
|
|
./programs/obs-studio
|
|
|
|
./programs/vscode
|
|
|
|
./scripts
|
|
|
|
./zsh
|
|
|
|
./packages
|
|
|
|
./ssh
|
2024-03-20 14:15:46 +00:00
|
|
|
./services/ssh-office.nix
|
2024-03-21 14:51:35 +00:00
|
|
|
./services/gnome-keyring.nix
|
2024-03-18 11:58:34 +00:00
|
|
|
];
|
|
|
|
tmux.enable = true;
|
2024-03-21 18:26:22 +00:00
|
|
|
firefox.enable = true;
|
2024-03-21 19:29:49 +00:00
|
|
|
xdg.enable = true;
|
|
|
|
xdg.portal.enable = true;
|
2024-03-18 11:58:34 +00:00
|
|
|
home = {
|
|
|
|
username = "${user}";
|
|
|
|
homeDirectory = "/home/${user}";
|
|
|
|
stateVersion = "23.11";
|
|
|
|
};
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|