Closed aleeusgr closed 1 year ago
flake.nix is similar;
/outputs/nixos-conf.nix is the same; https://github.com/harryprayiv/nix-config/blob/8c589a464114b6e6d8efd5e42804f2e8f2c5a9b6/outputs/nixos-conf.nix#L7-L14
Look at https://github.com/aleeusgr/nix-things/blob/7d81d2af34cdcbbd3e92ebd66dd871e789480153/flake.nix#L32
https://github.com/divnix/digga
K900 (bcachefs when):
Basically if you want it to be integrated in your NixOS config and not built separately, you want to add home-manager.nixosModules.default
into your NixOS config's imports (where home-manager is the flake input) and then set home-manager.users.k900.imports = [ ./home.nix ]
(replace with your username and paths, of course)
I got this:
so I added home-manager to flake.nix:
https://github.com/aleeusgr/nix-things/blob/c6183b2ddf34b4d5f512024bd5fe1729e22fcb70/flake.nix#L29-L34
What should be here:
https://github.com/aleeusgr/nix-things/blob/1879eb8f7e0876f7229626c31e3a7126ead1c3c3/outputs/home-conf.nix#L2-L8
The problem is:
Originally posted by @aleeusgr in https://github.com/aleeusgr/nix-things/issues/11#issuecomment-1336840920