summary refs log tree commit diff
path: root/profiles
diff options
context:
space:
mode:
authortzlil <tzlils@protonmail.com>2023-07-30 13:19:39 +0300
committertzlil <tzlils@protonmail.com>2023-07-30 13:19:39 +0300
commitf72f22b250ecf22657ffc9e6082086377031ea8a (patch)
treece0f397e0933118b64bc58fab5463968d27fd0df /profiles
parent22743d455ebb1f44f07b429a2b82045ca5b1d3ac (diff)
clean up a bit
Diffstat (limited to 'profiles')
-rw-r--r--profiles/core.nix43
-rw-r--r--profiles/impermanence.nix7
-rw-r--r--profiles/stdenv.nix (renamed from profiles/gentoo.nix)0
-rw-r--r--profiles/tzlil.nix7
4 files changed, 7 insertions, 50 deletions
diff --git a/profiles/core.nix b/profiles/core.nix
deleted file mode 100644
index 4fefbdd..0000000
--- a/profiles/core.nix
+++ /dev/null
@@ -1,43 +0,0 @@
-{
-  pkgs,
-  lib,
-  config,
-  inputs,
-  ...
-}: {
-  # imports = [
-  #   ../profiles/security.nix
-  #   ../profiles/network.nix
-  # ];
-  config = {
-    # system.stateVersion = "22.5";
-    # nix = {
-    #   registry.nixpkgs.flake = inputs.nixpkgs;
-    #   gc.automatic = true;
-    #   optimise.automatic = true;
-    #   settings = {
-    #     allowed-users = ["root"];
-    #     trusted-users = ["root"];
-    #     sandbox = true;
-    #   };
-    #   extraOptions = ''
-    #     experimental-features = nix-command flakes
-    #   '';
-    # };
-    # users.mutableUsers = false;
-    # environment.defaultPackages = lib.mkForce [];
-
-    programs.command-not-found.dbPath = inputs.programsdb.packages.${pkgs.system}.programs-sqlite;
-
-    # boot = {
-    #   tmp.cleanOnBoot = true;
-    #   kernelParams = [
-    #     "init_on_free=1"
-    #     "page_poison=1"
-    #     "page_alloc.shuffle=1"
-    #     "slab_nomerge"
-    #     "vsyscall=none"
-    #   ];
-    # };
-  };
-}
diff --git a/profiles/impermanence.nix b/profiles/impermanence.nix
index 5fdd9eb..c222a43 100644
--- a/profiles/impermanence.nix
+++ b/profiles/impermanence.nix
@@ -1,4 +1,5 @@
-{inputs,
+{
+  inputs,
   config,
   lib,
   options,
@@ -20,8 +21,8 @@ in {
         [
         ]
         ++ sshHostKeys
-	++ (map (x: x + ".pub") sshHostKeys);
+        ++ (map (x: x + ".pub") sshHostKeys);
     };
-    age.identityPaths = (map (x: "/nix/persist" + x) sshHostKeys);
+    age.identityPaths = map (x: "/nix/persist" + x) sshHostKeys;
   };
 }
diff --git a/profiles/gentoo.nix b/profiles/stdenv.nix
index 337a306..337a306 100644
--- a/profiles/gentoo.nix
+++ b/profiles/stdenv.nix
diff --git a/profiles/tzlil.nix b/profiles/tzlil.nix
index 5e85f35..f2e2505 100644
--- a/profiles/tzlil.nix
+++ b/profiles/tzlil.nix
@@ -40,7 +40,6 @@
 
     home-manager.users.tzlil = {pkgs, ...} @ hm: {
       home = {
-        stateVersion = "22.05";
         username = "tzlil";
         homeDirectory = "/home/tzlil";
         sessionVariables.SSH_AUTH_SOCK = "/run/user/1000/ssh-agent";
@@ -60,9 +59,9 @@
         Unit = {
           Description = "SSH Agent";
         };
-	Install = {
-	  WantedBy = ["default.target"];
-	};
+        Install = {
+          WantedBy = ["default.target"];
+        };
         Service = {
           ExecStartPre = "${pkgs.coreutils}/bin/rm -f %t/ssh-agent";
           ExecStart =