| 1 May 2024 |
thirdofmay18081814goya | hi, how do you make flakelight load the nix/ folder in the same directory as the flake? | 04:02:26 |
accelbread | loading ./nix in flake dir is default | 04:02:53 |
accelbread | Is is not working for you? | 04:03:04 |
accelbread | is the directory added to git?? | 04:03:12 |
accelbread | * is the directory added to git? | 04:03:13 |
thirdofmay18081814goya | ty for the fast response, I'm finding flakelight to be super neat | 04:03:43 |
thirdofmay18081814goya | I'll sure it'll get adopted quick | 04:03:49 |
thirdofmay18081814goya | wrt my problem: oh I didn't add it to git | 04:03:59 |
thirdofmay18081814goya | let me try that a second, am on a new install | 04:04:05 |
thirdofmay18081814goya | * I'm sure it'll get adopted quick | 04:04:23 |
thirdofmay18081814goya | I think it's my home-manager config that's not written right; I'll work a bit more on this and I'll get back to you | 04:27:54 |
thirdofmay18081814goya | thanks for the help! will be back soon, really want to implement this heheh | 04:28:04 |
accelbread | you're welcome! one thing thats usually useful for figuring out that stuff is nix repl; can run :lf . to load the flake and poke around at values | 04:30:33 |
| NixOS Moderation Botchanged room power levels. | 15:06:08 |
thirdofmay18081814goya | hey! back to working on this | 18:59:29 |
thirdofmay18081814goya | am looking at your flake-config | 18:59:35 |
thirdofmay18081814goya | where do you define the home-manager config that gets imported by the first flake.nix? | 19:00:13 |
thirdofmay18081814goya | * am looking at your config-flake | 19:07:00 |
thirdofmay18081814goya | i think there are two candidates under config-flake/nix/nixos but they don't both get imported right? | 19:12:23 |
thirdofmay18081814goya | i ask because i'm not seeing any sort of modules = ... home.nix ... going on | 19:14:10 |
thirdofmay18081814goya | * i ask because i'm not seeing any sort of modules = ... home.nix ... going on in flake.nix | 19:14:17 |
thirdofmay18081814goya | * i ask because i'm not seeing any sort of modules = ... home.nix ... going on in flake.nix and it is instead in same dir's default.nix | 19:16:10 |
thirdofmay18081814goya | * i ask because i'm not seeing any sort of modules = ... home.nix ... going on in flake.nix and it is instead in e.g. shadowfang/default.nix | 19:16:34 |
thirdofmay18081814goya | * i ask because i'm not seeing any sort of modules = ... home.nix ... going on in flake.nix and it is instead in e.g. shadowfang/default.nix, but it still doesn't import home.nix | 19:17:27 |
thirdofmay18081814goya | * i ask because i'm not seeing any sort of modules = ... home.nix ... going on in flake.nix and e.g. shadowfang/default.nix doesn't import home.nix | 19:17:40 |
thirdofmay18081814goya | * i ask because i'm not seeing any sort of modules = ... home.nix ... going on in flake.nix and e.g. shadowfang/default.nix doesn't include home.nix as a module | 19:17:59 |
thirdofmay18081814goya | still studying the repo, I'm trying to emulate it as best I can | 20:09:58 |
thirdofmay18081814goya | just to be sure: when a lone .nix file is found in a directory, it is imported as is, otherwise, the mode of importing a .nix file is defined in that directories' default.nix, correct? | 20:10:33 |
accelbread | Yes, on last part. For package key, assuming using ./nix, if ./nix/package.nix exists it is imported, else if ./nix/package/default.nix exists, it is imported, else if ./nix/package/ is a directory its nix files are loaded as an attrset | 22:23:20 |
accelbread | For home-manager in NixOS, let me get the links of where I set that | 22:25:19 |