mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
34 lines
912 B
Nix
34 lines
912 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
inputs,
|
|
niveumPackages,
|
|
...
|
|
}: let
|
|
nextcloud = "${config.home.homeDirectory}/Nextcloud/ZODIAC";
|
|
timeLedger = "${nextcloud}/hora.timeclock";
|
|
in {
|
|
home.packages = [
|
|
pkgs.git
|
|
(pkgs.writers.writeDashBin "hora" ''
|
|
${pkgs.hledger}/bin/hledger -f "${timeLedger}" "$@"
|
|
'')
|
|
(pkgs.writers.writeDashBin "hora-edit" ''
|
|
nvim + "${timeLedger}"
|
|
'')
|
|
niveumPackages.vim
|
|
];
|
|
|
|
home.sessionVariables.EDITOR = "${niveumPackages.vim}/bin/nvim";
|
|
home.file."Local Applications".source = pkgs.symlinkJoin {
|
|
name = "local-applications";
|
|
paths = [pkgs.anki-bin pkgs.dbeaver pkgs.vscode pkgs.mpv];
|
|
};
|
|
home.stateVersion = "23.11";
|
|
home.username = "xm7234fu";
|
|
home.homeDirectory = "/Users/${config.home.username}";
|
|
nixpkgs.config.allowUnfree = true;
|
|
nix.package = pkgs.nixFlakes;
|
|
nix.extraOptions = "experimental-features = nix-command flakes";
|
|
}
|