2025-01-16 14:30:10 +01:00
|
|
|
{ pkgs
|
|
|
|
, inputs
|
|
|
|
, user
|
|
|
|
, ...
|
2024-12-04 16:27:03 +01:00
|
|
|
}:
|
|
|
|
{
|
2024-03-18 12:58:34 +01:00
|
|
|
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
|
|
|
home-manager = {
|
|
|
|
useUserPackages = true;
|
|
|
|
useGlobalPkgs = true;
|
|
|
|
extraSpecialArgs = { inherit pkgs inputs user; };
|
2024-12-04 16:27:03 +01:00
|
|
|
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;
|
|
|
|
};
|
2024-04-30 12:35:17 +02:00
|
|
|
};
|
2024-12-04 16:27:03 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
programs.firefox.enable = true;
|
2024-11-03 11:15:59 +01:00
|
|
|
|
2024-12-04 16:27:03 +01:00
|
|
|
};
|
2024-03-18 12:58:34 +01:00
|
|
|
};
|
|
|
|
}
|