nixos-config/home-manager/dell.nix
2024-02-14 00:15:30 +01:00

81 lines
1.3 KiB
Nix

{ config
, pkgs
, ...
}:
{
imports = [
modules/neovim.nix
modules/git.nix
modules/tmux.nix
modules/foot.nix
modules/overlay.nix
modules/zsh.nix
modules/manual.nix
../secrets/denic.nix
../customOptions.nix
];
home.packages = with pkgs; [
kubectl
krew
kubectx
kubernetes-helm
silver-searcher
fd
subversionClient
tig
freerdp
mattermost-desktop
joplin # cli
joplin-desktop # gui
firefox
# for coc
nodejs
rnix-lsp
# for zsh-fzf plugin
fzf
bitwarden
];
home.username = "felix";
home.homeDirectory = "/home/felix";
home.stateVersion = "23.05"; # Please read the comment before changing.
# e.g. for obsidian
nixpkgs.config.allowUnfree = true;
home.file = { };
home.sessionVariables = { };
# 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"];
};
};
}