-
Notifications
You must be signed in to change notification settings - Fork 6
/
nixps.nix
78 lines (70 loc) · 1.56 KB
/
nixps.nix
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
{ pkgs, ... }:
{
imports = [
./apfs.nix
./boot.nix
./fonts.nix
./greetd.nix
./opengl.nix
./pipewire.nix
./tailscale.nix
];
hardware.cpu.intel.updateMicrocode = true;
home-manager.users.ymatsiuk = import ./hm-nixps.nix;
powerManagement.cpuFreqGovernor = "powersave";
programs.light.enable = true;
programs.ssh.startAgent = true;
programs.sway = {
enable = true;
wrapperFeatures = {
base = true;
gtk = true;
};
extraPackages = with pkgs; [
grim # sway dep
gsimplecal # i3status-rust dep
light # sway dep
pavucontrol # i3status-rust dep
playerctl # sway dep
pulseaudio # i3status-rust dep
slack
slurp # sway dep
swayidle # sway dep
swaylock # sway dep
wf-recorder # sway
wl-clipboard # sway dep
];
};
security.rtkit.enable = true;
security.tpm2.enable = true;
services.fprintd = {
enable = true;
tod = {
driver = pkgs.libfprint-2-tod1-goodix;
enable = true;
};
};
services.fwupd.enable = true;
services.gnome.gnome-keyring.enable = true;
services.thermald.enable = true;
services.upower.enable = true;
xdg.portal = {
enable = true;
wlr.enable = true;
};
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/14f07d10-2d6b-478c-b773-3eeebffccbc8";
fsType = "ext4";
};
"/boot" = {
device = "/dev/disk/by-uuid/32C5-B301";
fsType = "vfat";
};
};
swapDevices = [
{
device = "/dev/disk/by-uuid/8f3d360d-9fea-44d2-802e-f9ccfe932521";
}
];
}