about summary refs log tree commit diff
path: root/home/default.nix
blob: f37beae454f7268220bc460f203fafb87a914d18 (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
{ self, unstable, ... } @ inputs:

{
  "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
        nixpkgs-wayland.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
        nixpkgs-wayland.overlay
        # TODO: fractional scaling is broken on 1.8+
        (final: prev:
        let
          nixpkgs2311 = import nixpkgs-2311 { system = "x86_64-linux"; };
        in {
          sway-unwrapped = nixpkgs2311.pkgs.sway-unwrapped;
         })
      ];
    };

    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";
  };
}