flakelight | 38 Members | |
| https://github.com/nix-community/flakelight | 12 Servers |
| Sender | Message | Time |
|---|---|---|
| 1 May 2024 | ||
for shadowfang:./nix/nixos/shadowfang/default.nix imports configuration.nix: https://github.com/accelbread/config-flake/blob/11360f5278e8972c4f1978392028e8a595291a1c/nix/nixos/shadowfang/default.nix#L4Then that imports the desktop module which is common dev machine setup ( ./nix/nixosModules/desktop.nix): https://github.com/accelbread/config-flake/blob/11360f5278e8972c4f1978392028e8a595291a1c/nix/nixos/shadowfang/configuration.nix#L5And that configures home-manager: https://github.com/accelbread/config-flake/blob/11360f5278e8972c4f1978392028e8a595291a1c/nix/nixosModules/desktop.nix#L86-L91 | 22:31:16 | |
For the home-manager module it uses ./nix/homeModules/nixos.nix which is the root home-manger config module for my NixOS systems | 22:32:27 | |
| that configures home-manager on NixOS specific stuff and pulls in other home-manager modules for other stuff | 22:32:56 | |
| LMK if that helps | 22:33:18 | |
* for shadowfang:./nix/nixos/shadowfang/default.nix imports ./nix/nixos/shadowfang/configuration.nix: https://github.com/accelbread/config-flake/blob/11360f5278e8972c4f1978392028e8a595291a1c/nix/nixos/shadowfang/default.nix#L4Then that imports the desktop module which is common dev machine setup ( ./nix/nixosModules/desktop.nix): https://github.com/accelbread/config-flake/blob/11360f5278e8972c4f1978392028e8a595291a1c/nix/nixos/shadowfang/configuration.nix#L5And that configures home-manager: https://github.com/accelbread/config-flake/blob/11360f5278e8972c4f1978392028e8a595291a1c/nix/nixosModules/desktop.nix#L86-L91 | 22:35:54 | |
| When I get some more time, I'll probably add some templates for various kinds of flakes that might be a good starting point | 22:40:03 | |
In reply to @accelbread:matrix.orgI see! | 22:50:21 | |
In reply to @accelbread:matrix.orgfantastic! thank you so much for taking the time, these comments are super helpful | 22:50:34 | |
| 6 May 2024 | ||
| Sorry to bother accelbread, but I'm trying to grasp how you managed to make options in
in your config in having looked at other peoples' configs I notice it is in Or declared in the file sshd_config.. how did you get it to be declarable as an option in openssh.settings ? | 02:09:12 | |
Download image.png | 02:10:13 | |
thats probably since openssh.settings is a newer option | 02:10:23 | |
| even saved all the options for openssh to try and learn more about it x) unless mynixos doesn't have it all | 02:10:31 | |
| https://search.nixos.org/options?channel=23.11&show=services.openssh.settings&from=0&size=50&sort=relevance&type=packages&query=openssh.settings | 02:10:44 | |
It used to be that you had to use openssh.extra-config but iirc some time between 23.05 and 23.11 it was updated | 02:11:20 | |
| strange, i'm on 24.05 | 02:12:06 | |
Ah you do have it correct;openssh.settings is freeform | 02:12:56 | |
| Ahhhh | 02:13:13 | |
| so the documented suboptions, are those that are explicitly defined | 02:13:17 | |
| but not all settings are defined in the Nix code but you can still use them | 02:13:39 | |
| hm thought so, I'm sure they'd show up by looking into the source | 02:14:11 | |
| I thought you were defining it somewhere couldn't figure it out haha | 02:14:34 | |
| Yeah, for this one you'd have to look at openssh docs to see all available settings | 02:14:57 | |
| I shall keep that in mind, thank you | 02:15:37 | |
| 8 May 2024 | ||
| 00:56:04 | ||
| 00:56:09 | ||
| 12 May 2024 | ||
I'm trying to make a system configuration that lives separately from my main flakelight-managed config repo, but re-using the same nixpkgs. I've made a start here https://gist.github.com/lunik1/bf43fb0ebd9c4ef5a6e168eed03afbb0 but it fails to build when I set nixpkgs.follows = "nix-config/nixpkgs"; (where nix-config is my main config repository). I think the stacktrace (included in gist) is pointing to something in flakelight. | 22:10:26 | |
does it work if you add inherit inputs; to your flakelight module? if so, I'll see if i can get a better error message there | 22:13:22 | |
| that causes an infinite recursion... | 22:14:51 | |
yeah looks like a bug in lockfile parsing; inherit inputs; will disable that | 22:15:03 | |
| hm | 22:15:19 | |