-
Notifications
You must be signed in to change notification settings - Fork 7
/
suites.nix
59 lines (57 loc) · 1.51 KB
/
suites.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
{ utils }:
let
nixosModules = utils.lib.exportModules [
./modules/cachix.nix
./modules/clean-home.nix
./modules/nix-compose.nix
./modules/runtimes.nix
./config/aarch64Dev.nix
./config/base-desktop.nix
./config/cli-extras.nix
./config/cli.nix
./config/containers.nix
./config/dev.nix
./config/personal.nix
./config/sway.nix
./config/winapps.nix
./config/xorg.nix
];
sharedModules = with nixosModules; [
#cachix
clean-home
runtimes
nix-compose
personal
#utils.nixosModules.saneFlakeDefaults
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
}
];
desktopModules = with nixosModules; [
base-desktop
cli
cli-extras
winapps
#./hosts/work/i3
sway
({ pkgs, lib, config, ... }: {
nix.generateRegistryFromInputs = true;
nix.linkInputs = true;
#nix.generateNixPathFromInputs = true;
home-manager.users.gytis = import ./home-manager/sway.nix;
#boot.kernelPackages = lib.mkForce pkgs.linuxKernel.packages.linux_5_15;
#boot.kernelPackages = lib.mkForce pkgs.linuxPackages_latest;
#boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
hardware.bluetooth.enable = true;
nix.extraOptions = ''
http-connections = 50
log-lines = 50
warn-dirty = false
http2 = true
allow-import-from-derivation = true
'';
})
];
in
{ inherit nixosModules sharedModules desktopModules; }