nixos/user/default.nix

51 lines
1.3 KiB
Nix
Raw Normal View History

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