aboutsummaryrefslogtreecommitdiff
path: root/hosts/copenhagen/home/c.nix
blob: 0d1d5e9ab30f4e65b5953966ad607ee0d7f2e393 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{ lib, pkgs, inputs, config, ...}:

{
  imports = [
    inputs.impermanence.nixosModules.home-manager.impermanence
  ];

  home.persistence."/persist/home/c" = {
    allowOther = true;
    
    directories = [
      ".gnupg"
      ".ssh"
      
      ".local/bin"
    ];
  };

  programs = {
    git = {
      enable = true;

      userName = "Caroline Larimore";
      userEmail = "caroline@larimo.re";

      signing = {
        key = "DE64538967CA0C68";
        signByDefault = true;
      };

      ignores = [
        "*~"
        "*.swp"
      ];
    };
  };

  home.packages = with pkgs; [
    cloc
  ];

  home.stateVersion = "23.11";
}