nixos-config/home/default.nix

50 lines
964 B
Nix

{ config, ... }:
{
home-manager = {
useUserPackages = true;
useGlobalPkgs = true;
};
home-manager.users.artemis = {
imports = [
./dirs.nix
./fish.nix
./git.nix
./gpg.nix
./mpv.nix
./ssh
./terminals.nix
./theme.nix
./tmux.nix
./use-xdg.nix
];
home.stateVersion = config.system.stateVersion;
services.syncthing = {
enable = true;
extraOptions = [ "--no-default-folder" ];
};
programs.direnv = {
enable = true;
nix-direnv.enable = true;
};
programs.password-store.enable = true;
xdg.enable = true;
xdg.configFile = {
"swaylock/config".text = ''
ignore-empty-password
indicator-caps-lock
show-failed-attempts
image=${./files/xp.jpg}
'';
"gdb/gdbinit".text = ''
set disassembly-flavor intel
'';
};
home.file.".XCompose".source = ./files/XCompose;
};
}