summary refs log tree commit diff
diff options
context:
space:
mode:
authortzlil <tzlils@protonmail.com>2023-01-14 15:15:40 +0200
committertzlil <tzlils@protonmail.com>2023-01-14 15:15:40 +0200
commit2524df484f6d378cf7731ab30c5f371362f7795f (patch)
treead1c1aec39330fbc60e9915e6dd7fec070038789
parente352e75b64313d524d36ba395b97597904b86267 (diff)
changed sway Mod, change cli to use pc /etc/hosts entry, add pc to known hosts for tzlil ssh config
-rw-r--r--mixins/cli.nix4
-rw-r--r--mixins/sway.nix2
-rw-r--r--profiles/user.nix12
3 files changed, 9 insertions, 9 deletions
diff --git a/mixins/cli.nix b/mixins/cli.nix
index 9d2ba95..61153d3 100644
--- a/mixins/cli.nix
+++ b/mixins/cli.nix
@@ -31,8 +31,8 @@
             l = "ls -alh";
           };
           functions = {
-            sb.body = "nixos-rebuild build --flake git+ssh://tzlil@100.99.246.128/home/tzlil/newflake --use-remote-sudo";
-            sw.body = "nixos-rebuild switch --flake git+ssh://tzlil@100.99.246.128/home/tzlil/newflake --use-remote-sudo";
+            sb.body = "nixos-rebuild build --flake git+ssh://pc/home/tzlil/newflake --use-remote-sudo";
+            sw.body = "nixos-rebuild switch --flake git+ssh://pc/home/tzlil/newflake --use-remote-sudo";
           };
         };
       };
diff --git a/mixins/sway.nix b/mixins/sway.nix
index 5e80167..7ff601a 100644
--- a/mixins/sway.nix
+++ b/mixins/sway.nix
@@ -140,7 +140,7 @@ in {
             }
           ];
 
-          modifier = "Mod4";
+          modifier = "Mod5";
           left = "h";
           down = "n";
           up = "e";
diff --git a/profiles/user.nix b/profiles/user.nix
index 46f8d50..71c6617 100644
--- a/profiles/user.nix
+++ b/profiles/user.nix
@@ -45,12 +45,12 @@
       };
       programs.ssh = {
         enable = true;
-        # knownHosts = {
-        #   pc = {
-        #     extraHostNames = [ "100.99.246.128" ];
-        #     publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINu5lRKb1Ao4uj1tAV10QHKIvXfC8ncQ65b+oJtxrd1e";
-        #   };
-        # };
+        knownHosts = {
+          pc = {
+            extraHostNames = [ "100.99.246.128" ];
+            publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINu5lRKb1Ao4uj1tAV10QHKIvXfC8ncQ65b+oJtxrd1e";
+          };
+        };
         matchBlocks."*".identityFile = config.age.secrets."id_ed25519".path;
       };
     };