Commit 7bab335e97ab

Vincent Demeester <vincent@sbr.pm>
2023-11-05 11:02:48
Use nixpkgs envfs
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent d40c3bd
Changed files (3)
systems/hosts/aomi.nix
@@ -20,8 +20,8 @@ in
 {
   imports = [
     ../hardware/lenovo-p1.nix
-    import ../../users/vincent
-    import ../../users/root
+    (import ../../users/vincent)
+    (import ../../users/root)
   ];
 
   boot.initrd.luks.devices = {
@@ -150,6 +150,7 @@ in
   '';
 
   services = {
+    envfs.enable = true;
     netdata.enable = true;
     logind.extraConfig = ''
       HandleLidSwitch=ignore
systems/hosts/wakasu.nix
@@ -134,6 +134,7 @@ in
   ];
 
   services = {
+    envfs.enable = true;
     # automatic login is "safe" as we ask for the encryption passphrase anyway..
     getty.autologinUser = "vincent";
     wireguard = {
flake.nix
@@ -74,7 +74,7 @@
         ./systems/modules/profiles/wireguard.server.nix
         ./systems/modules/profiles/zsh.nix
         inputs.sops-nix.nixosModules.sops
-        inputs.envfs.nixosModules.envfs
+        # inputs.envfs.nixosModules.envfs
         {
           # config.nix.generateRegistryFromInputs = true;
           config.home-manager.useGlobalPkgs = true;
@@ -174,12 +174,12 @@
       repo = "sops-nix";
       inputs.nixpkgs.follows = "nixpkgs";
     };
-    envfs = {
-      type = "github";
-      owner = "Mic92";
-      repo = "envfs";
-      inputs.nixpkgs.follows = "nixpkgs";
-    };
+    # envfs = {
+    #   type = "github";
+    #   owner = "Mic92";
+    #   repo = "envfs";
+    #   inputs.nixpkgs.follows = "nixpkgs";
+    # };
 
     # WSL
     nixos-wsl = { type = "github"; owner = "nix-community"; repo = "NixOS-WSL"; inputs.nixpkgs.follows = "nixpkgs"; };