Compare commits

..

No commits in common. "5f7f2e8baed49d717da9ceba35f16ce6fa9ecf9a" and "b1ddb0de48354ccb0e12185f250cb6881d098d16" have entirely different histories.

5 changed files with 9 additions and 14 deletions

View file

@ -5,20 +5,17 @@ let
mkUsersOption = programs: osConfig: mkOption {
type = types.attrsOf (types.submodule (
{ config, ... }: {
{ ... }: {
options = {
inherit programs;
};
config = {
programs = lib.attrsets.concatMapAttrs
programs = builtins.mapAttrs
(
name: program:
if (builtins.elem name (builtins.attrNames config.programs)) then {
${name} = {
enable = mkDefault program.enable;
};
} else { }
name: config: {
enable = mkDefault config.enable;
}
)
osConfig.programs;
};

View file

@ -5,8 +5,6 @@ in {
config = {
valhalla = {
boot.label = "Arch";
fileSystems = {
diskSetup.devices = {
OS = {

View file

@ -5,8 +5,8 @@ begin
inherit "$dir/../../../Common/Software/systemd-networkd/main.fish"
function configureSW -V dir
sudo systemctl enable systemd-networkd
sudo systemctl enable systemd-resolved
systemctl enable systemd-networkd
systemctl enable systemd-resolved
configureSWBase $argv
end

View file

@ -101,7 +101,7 @@ function runSetup
end
end) \
(string escape $script) "&&")) \
"rm $tmp ||" \
"rm $tmp ||"
"mv $tmp $profile"
end | runChroot "$mountDir" tee "$profile" >/dev/null
end

View file

@ -84,7 +84,7 @@ function runSetupUserAction -V dir
disposeAction
rm "$sudoConfig"
userdel -rf "$name"
$success
success
end
end
end