Format project using nixfmt rfc candidate.
This commit is contained in:
parent
1f63817684
commit
a9f7fe416f
91 changed files with 1347 additions and 1000 deletions
|
@ -4,12 +4,12 @@
|
|||
lib,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
with lib;
|
||||
let
|
||||
cfg = config.system.copySysConf;
|
||||
cfgPath = ../.;
|
||||
copySysConf =
|
||||
if !(isStorePath cfgPath)
|
||||
then
|
||||
if !(isStorePath cfgPath) then
|
||||
pkgs.stdenv.mkDerivation rec {
|
||||
name = "NixOS_Configuration-${version}";
|
||||
version = commitIdFromGitRepo (cfgPath + "/.git");
|
||||
|
@ -20,8 +20,10 @@ with lib; let
|
|||
cp -R ./. $out
|
||||
'';
|
||||
}
|
||||
else (builtins.toPath ../.);
|
||||
in {
|
||||
else
|
||||
(builtins.toPath ../.);
|
||||
in
|
||||
{
|
||||
options.system.copySysConf = {
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue