diff options
author | Franck Cuny <franck@fcuny.net> | 2022-02-08 16:24:28 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-02-08 16:24:28 -0800 |
commit | 12566edfda699730e3e28fb97077dfed8b3e8844 (patch) | |
tree | b2bfce3aaf6265c98818bff8d3d6ae538506871b | |
parent | home: initial configuration for home manager (diff) | |
download | world-12566edfda699730e3e28fb97077dfed8b3e8844.tar.gz |
home-manager: fix initial configuration
This configuration is working, and I'm still unclear of how this is supposed to be done correctly. Might need to iterate a few more times.
-rw-r--r-- | flake.nix | 9 | ||||
-rw-r--r-- | users/fcuny/default.nix | 4 |
2 files changed, 9 insertions, 4 deletions
diff --git a/flake.nix b/flake.nix index 5c5f782..2accd12 100644 --- a/flake.nix +++ b/flake.nix @@ -26,6 +26,15 @@ ./users/fcuny ./modules/systems ./modules/desktop + home-manager.nixosModules.home-manager { + home-manager.useGlobalPkgs = true; + home-manager.useUserPackages = true; + home-manager.users.fcuny = { + imports = [ + ./users/fcuny/home-manager.nix + ]; + }; + } ]; }; }; diff --git a/users/fcuny/default.nix b/users/fcuny/default.nix index 43b4f80..12d7468 100644 --- a/users/fcuny/default.nix +++ b/users/fcuny/default.nix @@ -16,8 +16,4 @@ in hashedPassword = "$6$i.z1brxtb44JAEco$fDD2Izl.zRR9vBCB2VBKPScChGw38EEl7QEiBTJ/EwgP3oSL0X3ZHq0PJ.RtqzBsWTPUjl4F3MKOBMhnaAPr6."; openssh.authorizedKeys.keys = keys; }; - - imports = [ - ./home-manager.nix - ]; } |