50 lines
1.2 KiB
Nix
50 lines
1.2 KiB
Nix
{ 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
|
|
# ./programs/firefox
|
|
./programs/tmux
|
|
./programs/dunst
|
|
./programs/rofi
|
|
./programs/obs-studio
|
|
./programs/vscode
|
|
# ./programs/games
|
|
./scripts
|
|
./zsh
|
|
./ssh
|
|
./services/ssh-office.nix
|
|
./packages
|
|
];
|
|
tmux.enable = true;
|
|
# firefox.enable = true;
|
|
xdg.enable = true;
|
|
services.picom = {
|
|
enable = true;
|
|
settings = {
|
|
unredir-if-possible = false;
|
|
backend = "xrender"; # try "glx" if xrender doesn't help
|
|
vsync = true;
|
|
};
|
|
};
|
|
services.gnome-keyring.enable = true;
|
|
home = {
|
|
username = "${user}";
|
|
homeDirectory = "/home/${user}";
|
|
stateVersion = "23.11";
|
|
};
|
|
programs.home-manager.enable = true;
|
|
programs.direnv = {
|
|
enable = true;
|
|
enableZshIntegration = true;
|
|
nix-direnv.enable = true;
|
|
};
|
|
|
|
};
|
|
};
|
|
}
|