Manual: Expand the Development chapter
This commit is contained in:
parent
8d09a99a3a
commit
4d15ad22a2
@ -1012,7 +1012,7 @@ manpage or the Nix manual.</para>
|
|||||||
|
|
||||||
<!--===============================================================-->
|
<!--===============================================================-->
|
||||||
|
|
||||||
<section><title>User management</title>
|
<section xml:id="sec-user-management"><title>User management</title>
|
||||||
|
|
||||||
<para>NixOS supports both declarative and imperative styles of user
|
<para>NixOS supports both declarative and imperative styles of user
|
||||||
management. In the declarative style, users are specified in
|
management. In the declarative style, users are specified in
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -103,7 +103,7 @@ in
|
|||||||
];
|
];
|
||||||
|
|
||||||
system.build = {
|
system.build = {
|
||||||
inherit nixos-install nixos-generate-config nixos-option;
|
inherit nixos-install nixos-generate-config nixos-option nixos-rebuild;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -58,18 +58,15 @@ with pkgs.lib;
|
|||||||
# Generate /etc/os-release. See
|
# Generate /etc/os-release. See
|
||||||
# http://0pointer.de/public/systemd-man/os-release.html for the
|
# http://0pointer.de/public/systemd-man/os-release.html for the
|
||||||
# format.
|
# format.
|
||||||
environment.etc = singleton
|
environment.etc."os-release".text =
|
||||||
{ source = pkgs.writeText "os-release"
|
''
|
||||||
''
|
NAME=NixOS
|
||||||
NAME=NixOS
|
ID=nixos
|
||||||
ID=nixos
|
VERSION="${config.system.nixosVersion} (${config.system.nixosCodeName})"
|
||||||
VERSION="${config.system.nixosVersion} (${config.system.nixosCodeName})"
|
VERSION_ID="${config.system.nixosVersion}"
|
||||||
VERSION_ID="${config.system.nixosVersion}"
|
PRETTY_NAME="NixOS ${config.system.nixosVersion} (${config.system.nixosCodeName})"
|
||||||
PRETTY_NAME="NixOS ${config.system.nixosVersion} (${config.system.nixosCodeName})"
|
HOME_URL="http://nixos.org/"
|
||||||
HOME_URL="http://nixos.org/"
|
'';
|
||||||
'';
|
|
||||||
target = "os-release";
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user