From 17b0c7ea0e992192dec627c7e3f3da4c7aba2537 Mon Sep 17 00:00:00 2001 From: xenia Date: Fri, 27 Oct 2023 23:57:55 +0200 Subject: [PATCH] Add xenia user for home-manager --- flake.nix | 20 ++++++++++++++++++++ nixos/base.nix | 1 + 2 files changed, 21 insertions(+) diff --git a/flake.nix b/flake.nix index 75e6a581..c9470367 100644 --- a/flake.nix +++ b/flake.nix @@ -104,6 +104,26 @@ ]; }; + homeConfigurations."xenia" = + let + system = "x86_64-linux"; + pkgs = mkPkgs system; + home = mkHome { + username = "xenia"; + home-dir = "/home/xenia"; + prompt-color = 205; + inherit system pkgs; + }; + laptop = mkLaptop { inherit system pkgs; }; + in home-manager.lib.homeManagerConfiguration { + inherit pkgs; + + modules = [ + home + laptop + ]; + }; + darwinConfigurations."Joe-Bidens-MacBook-Pro" = let system = "aarch64-darwin"; diff --git a/nixos/base.nix b/nixos/base.nix index 1115b333..490f5669 100644 --- a/nixos/base.nix +++ b/nixos/base.nix @@ -48,6 +48,7 @@ coreutils home-manager + git # for home-manager ]; programs.zsh.enable = true;