From e9c3b32d755538f8c43d9f56d09000d1097eed6d Mon Sep 17 00:00:00 2001 From: Ricard Illa Date: Wed, 16 Aug 2023 17:49:36 +0200 Subject: [PATCH] feat: added coder workspace home config --- flake.nix | 2 +- hosts/coder-workspace/home.nix | 5 +++++ justfile | 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 1a86582..35af848 100644 --- a/flake.nix +++ b/flake.nix @@ -68,7 +68,7 @@ "ricard@coder-workspace" = home-manager.lib.homeManagerConfiguration { pkgs = nixpkgs.legacyPackages.x86_64-linux; extraSpecialArgs = { inherit inputs outputs; }; - modules = [ ./hosts/coder-workspac/home.nix ]; + modules = [ ./hosts/coder-workspace/home.nix ]; }; }; diff --git a/hosts/coder-workspace/home.nix b/hosts/coder-workspace/home.nix index c9c0489..810d094 100644 --- a/hosts/coder-workspace/home.nix +++ b/hosts/coder-workspace/home.nix @@ -14,5 +14,10 @@ imports = [ outputs.homeManagerModules.common ]; + home = { + username = "ricard"; + homeDirectory = "/home/ricard"; + }; + home.stateVersion = "23.05"; } diff --git a/justfile b/justfile index 78f3a54..5efe319 100644 --- a/justfile +++ b/justfile @@ -1,6 +1,9 @@ echidna: home-manager switch --flake .#rilla@echidna +coder-workspace: + home-manager switch --flake .#ricard@coder-workspace + capibara: doas nixos-rebuild switch --flake .#capibara