Home

dotnix @0dc10d1b6f151ea3532c6d4bec0c59c4bffa9ccc - refs - log -
-
https://git.jolheiser.com/dotnix.git
My nix dotfiles
dotnix / home / default.nix
- raw -
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
{ jolheiser, inputs, ... }:
let
  inherit (jolheiser) username;
in
{
  home = {
    inherit username;
    homeDirectory = "/home/${username}";
  };
  age = {
    secretsDir = "/home/${username}/.agenix/agenix";
    secretsMountPoint = "/home/${username}/.agenix/agenix.d";
    identityPaths = [ "/home/${username}/.ssh/nix" ];
  };
  nix.registry = {
    nixpkgs.flake = inputs.nixpkgs-unstable;
    stable.flake = inputs.nixpkgs;
  };
}