From 257b108a7b15190c9a87960ca39c16cf81ed6d73 Mon Sep 17 00:00:00 2001 From: 0xTux <0xtux@pm.me> Date: Fri, 13 Sep 2024 20:20:32 +0530 Subject: [PATCH] change wsl hostname to sirius --- flake.nix | 6 +++--- hosts/{wsl => sirius}/default.nix | 2 +- hosts/{wsl => sirius}/home.nix | 0 3 files changed, 4 insertions(+), 4 deletions(-) rename hosts/{wsl => sirius}/default.nix (96%) rename hosts/{wsl => sirius}/home.nix (100%) diff --git a/flake.nix b/flake.nix index 5f7c8d0..f8daae0 100755 --- a/flake.nix +++ b/flake.nix @@ -103,10 +103,10 @@ ]; }; - wsl = nixpkgs.lib.nixosSystem { + sirius = nixpkgs.lib.nixosSystem { specialArgs = {inherit inputs outputs username;}; modules = [ - ./hosts/wsl + ./hosts/sirius home-manager.nixosModules.home-manager { @@ -115,7 +115,7 @@ home-manager.extraSpecialArgs = {inherit inputs outputs username;}; home-manager.users.${username} = { imports = [ - ./hosts/wsl/home.nix + ./hosts/sirius/home.nix ]; }; } diff --git a/hosts/wsl/default.nix b/hosts/sirius/default.nix similarity index 96% rename from hosts/wsl/default.nix rename to hosts/sirius/default.nix index d2872af..5071d5f 100644 --- a/hosts/wsl/default.nix +++ b/hosts/sirius/default.nix @@ -23,7 +23,7 @@ useWindowsDriver = true; }; - networking.hostName = "wsl"; + networking.hostName = "sirius"; programs = { ssh.startAgent = true; diff --git a/hosts/wsl/home.nix b/hosts/sirius/home.nix similarity index 100% rename from hosts/wsl/home.nix rename to hosts/sirius/home.nix