From 7d9618c5a05602cd6c7f9d7a4fadee94b1720948 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Montero?= Date: Thu, 17 Mar 2022 02:56:03 -0600 Subject: [PATCH] activate home manager --- flake.nix | 9 +++++++-- {fabian => home}/default.nix | 2 ++ {fabian => home}/path.nix | 0 result | 1 + 4 files changed, 10 insertions(+), 2 deletions(-) rename {fabian => home}/default.nix (93%) rename {fabian => home}/path.nix (100%) create mode 120000 result diff --git a/flake.nix b/flake.nix index 063e210..bf76765 100644 --- a/flake.nix +++ b/flake.nix @@ -16,7 +16,12 @@ modules = [ ( import ./base ) ]; }; - homeConfigurations."fabian@posixlycorrect" = {}; + homeConfigurations."fabian@posixlycorrect" = home-manager.lib.homeManagerConfiguration { + system = "x86_64-linux"; + configuration = import ./home; + username = "fabian"; + homeDirectory = "/home/fabian"; + stateVersion = "21.11"; + }; }; - } diff --git a/fabian/default.nix b/home/default.nix similarity index 93% rename from fabian/default.nix rename to home/default.nix index 6da17bf..97910ea 100644 --- a/fabian/default.nix +++ b/home/default.nix @@ -11,6 +11,8 @@ }; nixpkgs.config.allowUnfree = true; + programs.home-manager.enable = true; + # configurable = [ neovim zsh keyboardlayout pulsaudio vscodium i3-gaps dunst rofi ]; diff --git a/fabian/path.nix b/home/path.nix similarity index 100% rename from fabian/path.nix rename to home/path.nix diff --git a/result b/result new file mode 120000 index 0000000..4ba7032 --- /dev/null +++ b/result @@ -0,0 +1 @@ +/nix/store/8by51srkm9s1rfiqlsp4n6fznm7bjzqb-home-manager-generation \ No newline at end of file