summaryrefslogtreecommitdiff
path: root/hosts/shinji/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/shinji/default.nix')
-rw-r--r--hosts/shinji/default.nix41
1 files changed, 20 insertions, 21 deletions
diff --git a/hosts/shinji/default.nix b/hosts/shinji/default.nix
index 0750d29..e22ee91 100644
--- a/hosts/shinji/default.nix
+++ b/hosts/shinji/default.nix
@@ -1,16 +1,17 @@
# Shinji
# System configuration for my laptop
-{pkgs, ...}: {
+{
+ pkgs,
+ lib,
+ ...
+}: {
imports = [
./hardware.nix
- ./sops.nix
- ./wireguard.nix
];
# options
hostName = "shinji";
- cores = 16;
- monitors = [
+ monitors = with lib.monitors; [
{
port = "eDP-1";
laptop = true;
@@ -18,22 +19,8 @@
bitdepth = 10;
}
# desktop when docked
- {
- desc = "ASUSTek COMPUTER INC ASUS VA24E LALMTF215939";
- position = {
- enabled = true;
- x = 2048;
- y = 240;
- };
- }
- {
- desc = "Acer Technologies EB321HQU 0x00000698";
- position = {
- enabled = true;
- x = 3968;
- y = 0;
- };
- }
+ asus
+ acer
];
# set power btn to suspend
@@ -92,8 +79,20 @@
docker.enable = true;
qemu.enable = true;
};
+ vpn = {
+ enable = true;
+ ip = "10.3.0.3/32";
+ };
+ bootloader = {
+ limine = {
+ enable = true;
+ secureBoot.enable = true;
+ };
+ plymouth.enable = true;
+ };
# modules
+ amdgpu.enable = true;
battery.enable = true;
bluetooth.enable = true;
network.enable = true;