nixos-config/home/default.nix

48 lines
908 B
Nix
Raw Normal View History

{ config, ... }:
2021-01-10 07:02:31 +00:00
{
home-manager = {
useUserPackages = true;
useGlobalPkgs = true;
};
home-manager.users.artemis = {
2023-10-19 00:02:04 +00:00
imports = [
./dirs.nix
2023-10-19 00:02:04 +00:00
./fish.nix
./git.nix
./gpg.nix
./gtk.nix
2023-10-19 00:02:04 +00:00
./mpv.nix
./ssh
./terminals.nix
2024-02-09 21:54:51 +00:00
./tmux.nix
./use-xdg.nix
2023-10-19 00:02:04 +00:00
];
2021-01-10 07:02:31 +00:00
home.stateVersion = config.system.stateVersion;
services.syncthing = {
enable = true;
extraOptions = [ "--no-default-folder" ];
};
2021-12-02 01:35:12 +00:00
programs.direnv = {
enable = true;
2022-05-31 04:42:46 +00:00
nix-direnv.enable = true;
2021-12-02 01:35:12 +00:00
};
programs.password-store.enable = true;
2021-08-25 04:59:28 +00:00
2021-01-10 07:29:08 +00:00
xdg.enable = true;
xdg.configFile = {
"swaylock/config".text = ''
ignore-empty-password
indicator-caps-lock
show-failed-attempts
2021-01-11 22:32:59 +00:00
image=${./files/xp.jpg}
2021-01-10 07:29:08 +00:00
'';
"gdb/gdbinit".text = ''
set disassembly-flavor intel
'';
2021-01-10 07:02:31 +00:00
};
};
}