summary refs log tree commit diff
path: root/modules/users/Rory.client.nix
blob: 36edbc18735f7a0becb5d1c458c436fc549e4fe6 (plain) (blame)
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
44
45
46
47
48
{ config, lib, pkgs, home-manager, ... }:

{
  programs = {
    ssh = {
      startAgent = true;
      setXAuthLocation = true;
      enableAskPassword = true;
    };
  };
  home-manager.users.Rory = {
    services.gnome-keyring.enable = lib.mkForce false;
    
    # keepassxc, maybe?
    systemd.user.services.keepassxc = {
      Unit = {
        Description = "KeePassXC password manager";
        #After = [ "graphical-session-pre.target" ];
        PartOf = [ "default.target" ];
      };

      Install = { WantedBy = [ "default.target" ]; };

      Service = { 
        ExecStart = "${pkgs.keepassxc}/bin/keepassxc ~/.secrets.kdbx";
        Restart = "always";
      };
    };

    systemd.user.services.easyeffects = {
      Unit = {
        Description = "EasyEffects";
        #After = [ "graphical-session-pre.target" ];
        PartOf = [ "default.target" ];
      };

      Install = { WantedBy = [ "default.target" ]; };

      Service = { 
        ExecStart = "${pkgs.easyeffects}/bin/easyeffects";
        Restart = "always";
      };
    };

    home.stateVersion = "22.11";
  };
}