summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/desktop/configuration.nix13
-rw-r--r--hosts/desktop/home.nix2
-rw-r--r--hosts/thinkpad/configuration.nix26
-rw-r--r--hosts/thinkpad/disko.nix1
-rw-r--r--hosts/thinkpad/home.nix1
5 files changed, 32 insertions, 11 deletions
diff --git a/hosts/desktop/configuration.nix b/hosts/desktop/configuration.nix
index fc1c334..69c95da 100644
--- a/hosts/desktop/configuration.nix
+++ b/hosts/desktop/configuration.nix
@@ -62,6 +62,7 @@
users.enable = true;
};
srv = {
+ i2p.enable = true;
files = {
enable = true;
localsend.enable = true;
@@ -80,6 +81,7 @@
monero.enable = true;
sops.enable = true;
syncthing.enable = true;
+ vpn.enable = true;
};
wm = {
enable = true;
@@ -107,13 +109,22 @@
];
};
+ services.hardware.openrgb = {
+ enable = true;
+ motherboard = "amd";
+ package = pkgs.openrgb-with-all-plugins;
+ };
+
boot = {
+ kernelParams = [
+ "video=DP-1:2560x1440@240"
+ "video=DP-2:1920x1080@144"
+ ];
kernelModules = [
"nct6687"
"binder_linux"
"ashem_linux"
];
- # kernelParams = [ "video=DP-1:2560x1440@240" ];
extraModulePackages = [
config.boot.kernelPackages.nct6687d
];
diff --git a/hosts/desktop/home.nix b/hosts/desktop/home.nix
index 196617b..9ca7073 100644
--- a/hosts/desktop/home.nix
+++ b/hosts/desktop/home.nix
@@ -43,6 +43,7 @@
starship.enable = true;
};
soft = {
+ sioyek.enable = true;
browser = {
librewolf.enable = true;
brave.enable = true;
@@ -55,7 +56,6 @@
obsidian.enable = true;
spicetify.enable = true;
torrent.enable = true;
- vpn.protonvpn.enable = true;
yt-dlp.enable = true;
};
};
diff --git a/hosts/thinkpad/configuration.nix b/hosts/thinkpad/configuration.nix
index 56a21b3..f9d3f6c 100644
--- a/hosts/thinkpad/configuration.nix
+++ b/hosts/thinkpad/configuration.nix
@@ -19,19 +19,14 @@
os = {
core = {
allowUnfree.enable = true;
+ flatpak.enable = true;
audio.enable = true;
bootloader = {
type = "grub";
+ efi = false;
timeout = 0;
luks.enable = true;
- grub = {
- device = "/dev/nvme0n1";
- signing = {
- enable = true;
- keyId = "3D95543550A5A23A";
- };
- };
};
drivers = {
enable = true;
@@ -62,6 +57,7 @@
};
srv = {
bluetooth.enable = true;
+ i2p.enable = true;
files = {
enable = true;
localsend.enable = true;
@@ -78,12 +74,26 @@
nix-helper.enable = true;
monero.enable = true;
sops.enable = true;
+ syncthing.enable = true;
+ vpn.enable = true;
};
wm = {
enable = true;
niri.enable = true;
};
};
+ boot = {
+ kernelParams = [ "iomem=relaxed" ];
+ initrd = {
+ secrets = {
+ "/etc/cryptsetup-keys.d/root.key" = "/etc/cryptsetup-keys.d/root.key";
+ };
+ luks.devices."crypted" = {
+ device = "/dev/nvme0n1p2";
+ keyFile = "/etc/cryptsetup-keys.d/root.key";
+ allowDiscards = true;
+ };
+ };
+ };
services.thinkfan.enable = true;
- boot.kernelParams = [ "iomem=relaxed" ];
}
diff --git a/hosts/thinkpad/disko.nix b/hosts/thinkpad/disko.nix
index 9816f7f..3ab76f4 100644
--- a/hosts/thinkpad/disko.nix
+++ b/hosts/thinkpad/disko.nix
@@ -16,7 +16,6 @@
content = {
type = "luks";
name = "crypted";
- keyFile = "/boot/root.key";
extraFormatArgs = [
"--type luks2"
"--pbkdf argon2id"
diff --git a/hosts/thinkpad/home.nix b/hosts/thinkpad/home.nix
index 3a8215d..b121ae2 100644
--- a/hosts/thinkpad/home.nix
+++ b/hosts/thinkpad/home.nix
@@ -40,6 +40,7 @@
starship.enable = true;
};
soft = {
+ sioyek.enable = true;
browser.librewolf.enable = true;
email.thunderbird.enable = true;
media.enable = true;