mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 18:19:09 +00:00
flake: set NixOS configs with the current revision of flake in /etc/nixos
This commit is contained in:
parent
3e898cf0b3
commit
57c0bd546c
@ -96,6 +96,11 @@
|
|||||||
# The NixOS module that came from flake-parts.
|
# The NixOS module that came from flake-parts.
|
||||||
({ config, lib, ... }: {
|
({ config, lib, ... }: {
|
||||||
_module.args = defaultExtraArgs;
|
_module.args = defaultExtraArgs;
|
||||||
|
|
||||||
|
# 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;
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user