nixos-config/home-manager/dell.nix

78 lines
1.3 KiB
Nix
Raw Normal View History

2023-08-15 12:52:40 +00:00
{ config
, pkgs
, ...
}:
2023-08-15 12:43:46 +00:00
{
imports = [
modules/neovim.nix
modules/git.nix
2023-08-15 12:52:40 +00:00
modules/tmux.nix
modules/foot.nix
modules/overlay.nix
modules/zsh.nix
2023-12-13 11:16:22 +00:00
modules/manual.nix
2023-08-15 12:52:40 +00:00
../secrets/denic.nix
../customOptions.nix
2023-08-15 12:43:46 +00:00
];
home.packages = with pkgs; [
kubectl
krew
kubectx
kubernetes-helm
2023-08-15 12:43:46 +00:00
silver-searcher
fd
subversionClient
tig
freerdp
mattermost-desktop
joplin # cli
firefox
2023-08-15 12:43:46 +00:00
# for coc
nodejs
rnix-lsp
# for zsh-fzf plugin
fzf
];
home.username = "felix";
home.homeDirectory = "/home/felix";
home.stateVersion = "23.05"; # Please read the comment before changing.
2023-08-15 12:43:46 +00:00
# e.g. for obsidian
nixpkgs.config.allowUnfree = true;
2023-08-15 12:43:46 +00:00
home.file = { };
2023-08-15 12:52:40 +00:00
home.sessionVariables = { };
2023-08-15 12:43:46 +00:00
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
systemd.user.services.backup = {
Unit = {
Description = "Run a backup";
};
Service = {
Type = "oneshot";
ExecStart = "/home/felix/bin/backup.sh";
};
};
systemd.user.timers.backup = {
Unit = {
Description = "Backup every 3h";
};
Timer = {
OnBootSec = "3h";
OnUnitActiveSec = "3h";
};
Install = {
WantedBy= ["timers.target"];
};
};
2023-08-15 12:43:46 +00:00
}