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 = [
|
|
|
|
./programs/neovim
|
2024-09-13 16:42:10 +00:00
|
|
|
# ./programs/firefox
|
2024-03-18 11:58:34 +00:00
|
|
|
./programs/tmux
|
|
|
|
./programs/dunst
|
|
|
|
./programs/rofi
|
|
|
|
./programs/obs-studio
|
|
|
|
./programs/vscode
|
2024-10-31 12:14:45 +00:00
|
|
|
# ./programs/games
|
2024-03-18 11:58:34 +00:00
|
|
|
./scripts
|
|
|
|
./zsh
|
|
|
|
./ssh
|
2024-03-20 14:15:46 +00:00
|
|
|
./services/ssh-office.nix
|
2024-09-13 16:42:10 +00:00
|
|
|
./packages
|
2024-03-18 11:58:34 +00:00
|
|
|
];
|
|
|
|
tmux.enable = true;
|
2024-09-13 16:42:10 +00:00
|
|
|
# firefox.enable = true;
|
2024-03-21 19:29:49 +00:00
|
|
|
xdg.enable = true;
|
2024-04-30 10:35:17 +00:00
|
|
|
services.picom = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
unredir-if-possible = false;
|
|
|
|
backend = "xrender"; # try "glx" if xrender doesn't help
|
|
|
|
vsync = true;
|
|
|
|
};
|
|
|
|
};
|
2024-07-24 05:11:35 +00:00
|
|
|
services.gnome-keyring.enable = true;
|
2024-03-18 11:58:34 +00:00
|
|
|
home = {
|
|
|
|
username = "${user}";
|
|
|
|
homeDirectory = "/home/${user}";
|
|
|
|
stateVersion = "23.11";
|
|
|
|
};
|
|
|
|
programs.home-manager.enable = true;
|
2024-10-31 13:11:48 +00:00
|
|
|
programs.lutris.enable = true;
|
2024-03-18 11:58:34 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|