about summary refs log tree commit diff
path: root/home/default.nix
blob: 5687f44d1013fed45f3c955c86193d428fc9afdf (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{ self, unstable, ... } @ inputs:

let
  waybar-overlay = (final: prev: {
    # TODO: remove when >0.10.0
    waybar = prev.waybar.overrideAttrs(old: {
      src = prev.fetchFromGitHub {
        owner = "Alexays";
        repo = "Waybar";
        rev = "ddc767cd815a7c429bc4dd7f185fad93e485271d";
        hash = "sha256-dQW43ZxDrBvMCefvTCjaV3hEpYCU6KTJl/JxR8XZhwM=";
      };

      buildInputs = old.buildInputs ++ [
        prev.wireplumber
      ];
    });
  });
in
{
  "sefidel@alpha" = self.lib.mkHome {
    username = "sefidel";
    hostname = "alpha";
    pkgs = import unstable {
      system = "x86_64-linux";
      overlays = with inputs; [
        rust.overlays.default
        neovim-nightly.overlay
        helix.overlays.default
        nur.overlay
        waybar-overlay
      ];
    };

    extraModules = [
      ./profiles/populate.nix
      ./profiles/base
      ./profiles/gui
      ./profiles/browsing
      ./profiles/development
      ./profiles/communication
      ./profiles/multimedia
      ./profiles/creative
      ./profiles/research
      ./profiles/security
      ./profiles/gaming


      inputs.sops-nix.homeManagerModules.sops
    ];

    version = "22.05";
  };

  "sefidel@haruka" = self.lib.mkHome {
    username = "sefidel";
    hostname = "haruka";
    pkgs = import unstable {
      system = "x86_64-linux";
      overlays = with inputs; [
        rust.overlays.default
        neovim-nightly.overlay
        helix.overlays.default
        nur.overlay
        waybar-overlay
      ];
    };

    extraModules = [
      ./profiles/populate.nix
      ./profiles/base
      ./profiles/gui
      ./profiles/browsing
      ./profiles/development
      ./profiles/communication
      ./profiles/multimedia
      ./profiles/creative
      ./profiles/research
      ./profiles/security


      inputs.sops-nix.homeManagerModules.sops
    ];

    version = "23.11";
  };

  "sefidel@cobalt" = self.lib.mkHome {
    username = "sefidel";
    hostname = "cobalt";
    pkgs = import unstable { system = "x86_64-linux"; overlays = with inputs; [ rust.overlays.default neovim-nightly.overlay ]; };

    extraModules = [
      ./profiles/populate.nix
      ./profiles/base
      ./profiles/development
    ];

    version = "23.05";
  };
}