summary refs log tree commit diff
path: root/profiles
diff options
context:
space:
mode:
authortzlil <tzlils@protonmail.com>2023-08-03 21:37:04 +0300
committertzlil <tzlils@protonmail.com>2023-08-03 21:37:04 +0300
commit73cd8a2ab81b91aaca8095c77de12ea39fbc2fed (patch)
tree898960c644e7ab2cb9191acd7dba2936fa8bab1b /profiles
parent77da12bae6fb23133758cd92ebd0d814a96ff46f (diff)
fix vm vm
Diffstat (limited to 'profiles')
-rw-r--r--profiles/impermanence.nix2
-rw-r--r--profiles/network.nix3
-rw-r--r--profiles/nix.nix2
-rw-r--r--profiles/tzlil.nix1
4 files changed, 4 insertions, 4 deletions
diff --git a/profiles/impermanence.nix b/profiles/impermanence.nix
index c222a43..cdbf426 100644
--- a/profiles/impermanence.nix
+++ b/profiles/impermanence.nix
@@ -13,7 +13,7 @@ in {
     environment.persistence."/nix/persist" = {
       hideMounts = true;
       directories = [
-        "/var/log"
+        # "/var/log"
         "/var/lib/systemd/coredump"
         "/tmp" # Make builds not crash by running them on disk instead of RAM (We still clean /tmp on boot)
       ];
diff --git a/profiles/network.nix b/profiles/network.nix
index 461106f..fc4af5c 100644
--- a/profiles/network.nix
+++ b/profiles/network.nix
@@ -7,6 +7,7 @@
 }: {
   imports = [];
   config = {
+    systemd.network.enable = true;
     networking = {
       firewall = {
         enable = true;
@@ -15,9 +16,7 @@
         checkReversePath = "loose";
       };
       networkmanager.enable = true;
-      useDHCP = false;
       nameservers = ["127.0.0.1" "::1"];
-      networkmanager.dns = "none";
       extraHosts = ''
         100.99.246.128 pc
         100.105.242.70 phone
diff --git a/profiles/nix.nix b/profiles/nix.nix
index 769a06a..6e18dc5 100644
--- a/profiles/nix.nix
+++ b/profiles/nix.nix
@@ -40,5 +40,5 @@
   nixpkgs.config.allowUnfree = true;
 
   # save uid/guid
-  environment.persistence."/nix/persist".directories = ["/var/lib/nixos"];
+  # environment.persistence."/nix/persist".directories = ["/var/lib/nixos"];
 }
diff --git a/profiles/tzlil.nix b/profiles/tzlil.nix
index f2e2505..5669b26 100644
--- a/profiles/tzlil.nix
+++ b/profiles/tzlil.nix
@@ -27,6 +27,7 @@
       shell = pkgs.fish;
       hashedPassword = "$6$FAQYKz3OCtRNOP7h$XsApvP.r./Jv5MRI1idDI9BMnA26xxEvXFlE61Zls.QA3EK2x76XsetdpxSlgViylnRwRuq5XQMc3GeAJ7tum1";
       # passwordFile = config.age.secrets.password.path;
+      createHome = true;
       openssh.authorizedKeys.keys = [
         "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIgPE76xQXx1kpvWavHGNOWHiZSFdGfz/rQlISGrKsDe"
       ];