tangled
alpha
login
or
join now
da157.id
/
nix-config
0
fork
atom
0xda157's home-manager and nixos config
0
fork
atom
overview
issues
pulls
pipelines
stuff
0xda157
3 months ago
3385886f
32c797fd
0/1
check.yml
failed
1m 40s
+3
-30
1 changed file
expand all
collapse all
unified
split
README.md
+3
-30
README.md
···
54
54
}:
55
55
{
56
56
imports = [
57
57
-
inputs.nixos-hardware.nixosmodules.<device>
58
58
-
(self.diskomodules.<partition-layout> { disk = "/dev/<disk>"; })
57
57
+
inputs.nixos-hardware.nixosModules.<device>
59
58
./hardware.nix
59
59
+
(lib.modules.importApply ./disko.nix { })
60
60
];
61
61
62
62
l = {
···
64
64
desktop.enable = true;
65
65
66
66
monitors = lib.singleton {
67
67
-
name = "edp-1";
67
67
+
name = "eDP-1";
68
68
width = 1920;
69
69
height = 1080;
70
70
scale = 1.25;
···
82
82
dev.enable = true;
83
83
media.enable = true;
84
84
};
85
85
-
};
86
86
-
}
87
87
-
```
88
88
-
89
89
-
## adding a new home manager host
90
90
-
91
91
-
add to `hosts/home-manager/flake-module.nix`
92
92
-
93
93
-
```nix
94
94
-
homeconfigurations = mapattrs mkhomeconf {
95
95
-
"<username>@<hostname>" = {
96
96
-
system = "aarch64-linux"; # defaults to x86_64-linux
97
97
-
};
98
98
-
};
99
99
-
```
100
100
-
101
101
-
then enable suites in `hosts/home-manager/<username>@<hostname>`
102
102
-
103
103
-
```nix
104
104
-
{
105
105
-
suites = {
106
106
-
desktop = {
107
107
-
enable = true;
108
108
-
hyprland.enable = true;
109
109
-
};
110
110
-
media.enable = true;
111
111
-
dev.enable = true;
112
85
};
113
86
}
114
87
```