nixos-config/home/default.nix

32 lines
738 B
Nix
Raw Normal View History

2021-01-10 07:02:31 +00:00
{ ... }:
{
imports = [ ../externals/home-manager/nixos ];
home-manager = {
useUserPackages = true;
useGlobalPkgs = true;
};
home-manager.users.artemis = { pkgs, ... }: {
2021-01-10 07:29:08 +00:00
imports = [
./git.nix
2021-01-11 22:32:59 +00:00
./neovim
2021-01-10 07:29:08 +00:00
];
2021-01-10 07:02:31 +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;
2021-01-12 07:00:52 +00:00
"mpv/mpv.conf".source = ./files/mpv/mpv.conf;
"mpv/input.conf".source = ./files/mpv/input.conf;
2021-01-11 22:32:59 +00:00
"mimeapps.list".source = ./files/mimeapps.list;
2021-01-10 07:29:08 +00:00
"swaylock/config".text = ''
daemonize
ignore-empty-password
indicator-caps-lock
show-failed-attempts
show-keyboard-layout
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
};
};
}