blob: f9401bf8629b4561ef0afcf1ebc52a559793cfc3 (
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
|
# Shinji
# System configuration for my laptop
{
lib,
pkgs,
...
}: {
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.settings.Login = {
HandlePowerKey = "suspend";
HandeLidSwitch = "suspend";
HandeLidSwitchDocked = "suspend";
};
# logitech mouse udev
services.udev.extraRules = lib.fileContents ./42-logitech-unify-permissions.rules;
# packages
environment.systemPackages = with pkgs; [
# wine
winetricks
wineWowPackages.staging
# android
android-tools
scrcpy
# misc
foliate
jami
solaar
qbittorrent
];
# modules
apps = {
astal = true;
hyprlock = true;
kitty = true;
};
browsers = {
firefox = true;
};
desktops = {
enable = true;
hyprland = true;
ly = true;
};
development = {
c = true;
lua = true;
java = true;
rust = true;
web = true;
};
gaming = {
homestuck = true;
minecraft = true;
steam = true;
};
virt = {
docker = true;
};
# modules
battery = true;
bluetooth = true;
network = true;
}
|