nix-gui / nix-gui

Use NixOS Without Coding
MIT License
655 stars 23 forks source link

Write Changes to Correct Module #243

Open lapp0 opened 2 years ago

lapp0 commented 2 years ago

https://github.com/nix-gui/nix-gui/pull/239/files#diff-384de708845db556756b95b47e76bf6709933612e3d625e61afa181d986a8333R36

Current behavior is to always write to the "base" module (usually /etc/nixos/configuration.nix). Instead we should write to the module which has the attribute in it already.