summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-08-31 02:03:18 -0700
committerFuwn <[email protected]>2024-08-31 02:03:18 -0700
commit7da16e79124a05561ac5013888ca927dc1318279 (patch)
treeaf8f6c33f94f8d32eaf1efcaa1f81713878d3a4f /modules
parentok (diff)
downloadnixos-config-7da16e79124a05561ac5013888ca927dc1318279.tar.xz
nixos-config-7da16e79124a05561ac5013888ca927dc1318279.zip
tings
Diffstat (limited to 'modules')
-rw-r--r--modules/boot/grub.nix6
-rw-r--r--modules/networking.nix8
-rw-r--r--modules/services/default.nix1
-rw-r--r--modules/services/pia.nix10
4 files changed, 21 insertions, 4 deletions
diff --git a/modules/boot/grub.nix b/modules/boot/grub.nix
index b562370..fd6e1e8 100644
--- a/modules/boot/grub.nix
+++ b/modules/boot/grub.nix
@@ -7,8 +7,10 @@
useOSProber = true;
configurationLimit = 10;
memtest86.enable = true;
- gfxmodeEfi = "1920x1080";
- gfxmodeBios = "1920x1080";
+ gfxmodeEfi = "1920x1080x32";
+ gfxmodeBios = "1920x1080x32";
+ gfxpayloadBios = "keep";
+ gfxpayloadEfi = "keep";
splashMode = "normal";
extraEntries = ''
diff --git a/modules/networking.nix b/modules/networking.nix
index b60b2c4..e9b29b8 100644
--- a/modules/networking.nix
+++ b/modules/networking.nix
@@ -1,9 +1,13 @@
-{
+{ pkgs, ... }: {
networking = {
hostName = "kansai";
- networkmanager.enable = false;
nftables.enable = true;
+ networkmanager = {
+ enable = true;
+ plugins = [ pkgs.networkmanager-openvpn ];
+ };
+
nameservers = [
"1.1.1.1"
"9.9.9.9"
diff --git a/modules/services/default.nix b/modules/services/default.nix
index d629f38..116016a 100644
--- a/modules/services/default.nix
+++ b/modules/services/default.nix
@@ -4,6 +4,7 @@
./dbus.nix
./libinput.nix
./openssh.nix
+ ./pia.nix
./pipewire.nix
./xserver.nix
];
diff --git a/modules/services/pia.nix b/modules/services/pia.nix
new file mode 100644
index 0000000..d3c72ca
--- /dev/null
+++ b/modules/services/pia.nix
@@ -0,0 +1,10 @@
+{
+ services.pia = {
+ enable = true;
+
+ authUserPass = {
+ username = "p7456565";
+ password = "hc5yxck7yW34vD";
+ };
+ };
+}