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
|
2023-09-15 13:23:59 +00:00
|
|
|
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
|
2023-09-15 13:23:59 +00:00
|
|
|
../customOptions.nix
|
2023-08-15 12:43:46 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
kubectl
|
|
|
|
krew
|
2023-09-07 16:09:26 +00:00
|
|
|
kubectx
|
2023-09-26 14:22:05 +00:00
|
|
|
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
|
2023-09-26 14:22:05 +00:00
|
|
|
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
|
|
|
];
|
|
|
|
|
2023-09-15 13:23:59 +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
|
|
|
|
2023-09-15 13:23:59 +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;
|
2023-09-15 13:23:59 +00:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
2023-09-26 14:22:05 +00:00
|
|
|
Install = {
|
|
|
|
WantedBy= ["timers.target"];
|
|
|
|
};
|
2023-09-15 13:23:59 +00:00
|
|
|
};
|
2023-08-15 12:43:46 +00:00
|
|
|
}
|