blob: e6d7b4b46486354dbc5c3f985f497f22d3116f0a (
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
|
# Shinji
# System configuration for my laptop
{
inputs,
options,
...
}:
inputs.nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux";
specialArgs = {inherit inputs;};
modules = [
options
../../config
../../home
../../programs
../../system
{
# imports
imports = [
./hardware.nix
./sops.nix
./wireguard.nix
];
# options
hostName = "shinji";
monitors = [
{
name = "eDP-1";
scale = 1.25;
bitdepth = 10;
}
];
# set power btn to suspend
services.logind.extraConfig = ''
HandlePowerKey=suspend
'';
}
];
}
|