summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-11-23 18:17:41 +0100
committersils <sils@sils.li>2023-11-23 18:17:41 +0100
commit2b9ce714c2360cc161b20a7fdcbc59989c9a06af (patch)
tree1f253fa2789965c84aa16f1e959722218c699e32
parentfeat(sys/nix): add my configuration flake in the registry (diff)
downloadnix-config-2b9ce714c2360cc161b20a7fdcbc59989c9a06af.tar.gz
nix-config-2b9ce714c2360cc161b20a7fdcbc59989c9a06af.zip
style(treewide): format
-rw-r--r--sys/networking/networks.nixbin223 -> 222 bytes
-rw-r--r--sys/nix/default.nix17
2 files changed, 11 insertions, 6 deletions
diff --git a/sys/networking/networks.nix b/sys/networking/networks.nix
index 6314516..5613da3 100644
--- a/sys/networking/networks.nix
+++ b/sys/networking/networks.nix
Binary files differdiff --git a/sys/nix/default.nix b/sys/nix/default.nix
index f84a809..9014f5f 100644
--- a/sys/nix/default.nix
+++ b/sys/nix/default.nix
@@ -1,4 +1,9 @@
-{self, config, nixpkgs, ...}: {
+{
+  self,
+  config,
+  nixpkgs,
+  ...
+}: {
   nix = {
     registry = {
       nixpkgs.flake = nixpkgs;
@@ -32,16 +37,16 @@
       ];
     };
   };
-    home-manager.users.root.home = {
+  home-manager.users.root.home = {
     username = "root";
     homeDirectory = "/root";
     stateVersion = "23.05";
     file.".ssh/config" = {
       text = ''
-      Host server1.vhack.eu
-	            IdentitiesOnly yes
-	            IdentityFIle ${config.age.secrets.nixremote.path}
-	            User nixremote
+        Host server1.vhack.eu
+               IdentitiesOnly yes
+               IdentityFIle ${config.age.secrets.nixremote.path}
+               User nixremote
       '';
     };
   };