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
2024-05-31 13:14:06 +00:00
k9s
2023-08-15 12:43:46 +00:00
silver-searcher
fd
subversionClient
tig
freerdp
firefox
2024-05-31 13:14:06 +00:00
bitwarden
2023-08-15 12:43:46 +00:00
# for zsh-fzf plugin
fzf
2024-02-01 13:17:25 +00:00
2024-02-14 09:54:25 +00:00
# denic tooling from overlay
gohome
2023-08-15 12:43:46 +00:00
];
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
}