diff --git a/configs/flake-parts/nixos.nix b/configs/flake-parts/nixos.nix index 3e5749f5..9cbba452 100644 --- a/configs/flake-parts/nixos.nix +++ b/configs/flake-parts/nixos.nix @@ -95,14 +95,6 @@ defaultNixConf ../../modules/nixos/profiles/generic.nix ../../modules/nixos/profiles/nix-conf.nix - - # The NixOS module that came from flake-parts. - ({ config, lib, ... }: { - # Set the NixOS system at the time of evaluation for convenience. Take - # note, we assume that you develop your NixOS configuration somewhere - # not in `/etc/nixos`. - environment.etc.nixos.source = inputs.self; - }) ]; }; diff --git a/modules/nixos/profiles/desktop/default.nix b/modules/nixos/profiles/desktop/default.nix index 2219df0d..78625c87 100644 --- a/modules/nixos/profiles/desktop/default.nix +++ b/modules/nixos/profiles/desktop/default.nix @@ -7,4 +7,7 @@ ./audio.nix ./hardware.nix ]; + + # We'll just have the configuration stored as a backup. + environment.etc.nixos.source = ../../../../..; }