-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.nix
35 lines (34 loc) · 958 Bytes
/
default.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
# This file defines all NixOS host configurations
# as seen in the flake's `nixosConfigurations` output.
args@{ self, tree, lib, inputs, ... }: {
jacob-thinkpad = lib.birdos.mkHost args {
hostPlatform.system = "x86_64-linux";
nixpkgs = inputs.nixpkgs-unstable;
nixpkgsArgs.config.allowUnfree = true;
# the bootloader module takes this as a param
# determines if should use untested kernel with zfs
specialArgs.enableUnstableZfs = false;
modules = with tree.hosts.jacob-thinkpad; [
bootloader
filesystems
plymouth
configuration
packages
powerplan
touchpad
greeter
# gamemode
gaming
pia-openvpn
];
overlays = [
# flake packages
self.overlays.default
# override packages with an unfree license
self.overlays.allowUnfree
# other packages
inputs.slight.overlays.default
inputs.ragenix.overlays.default
];
};
}