nixos-config/home/default.nix

38 lines
749 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 = {
2021-01-10 07:29:08 +00:00
imports = [
./git.nix
./mpv.nix
2021-08-16 17:38:38 +00:00
./kitty.nix
2021-01-11 22:32:59 +00:00
./neovim
2021-09-18 17:08:41 +00:00
./ssh
2021-01-10 07:29:08 +00:00
];
2021-01-10 07:02:31 +00:00
home.stateVersion = config.system.stateVersion;
2021-08-25 04:59:28 +00:00
services.syncthing.enable = true;
2021-12-02 01:35:12 +00:00
programs.direnv = {
enable = true;
nix-direnv.enable = true;
};
2021-08-25 04:59:28 +00:00
2021-01-10 07:29:08 +00:00
xdg.enable = true;
xdg.configFile = {
2021-01-11 22:32:59 +00:00
"alacritty/alacritty.yml".source = ./files/alacritty.yml;
"mimeapps.list".source = ./files/mimeapps.list;
2021-01-10 07:29:08 +00:00
"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
'';
2021-01-10 07:02:31 +00:00
};
};
}