Run linter+formatter.

This commit is contained in:
Kevin Baensch 2023-09-11 21:20:14 +02:00
parent 8fd1b6c982
commit e2330f01fc
Signed by: derped
GPG key ID: C0F1D326C7626543
16 changed files with 58 additions and 54 deletions

View file

@ -11,13 +11,14 @@
fi
exit 0;
'');
in (pkgs.writeText "rofi.rasi" ''
configuration {
modi: "combi,window,drun,ssh,tabFinder:${tabMode}";
font: "hack 10";
combi-modi: "window,drun,ssh,tabFinder";
icon-theme: "Papirus";
show-icons: true;
}
@theme "solarized"
'')
in
pkgs.writeText "rofi.rasi" ''
configuration {
modi: "combi,window,drun,ssh,tabFinder:${tabMode}";
font: "hack 10";
combi-modi: "window,drun,ssh,tabFinder";
icon-theme: "Papirus";
show-icons: true;
}
@theme "solarized"
''

View file

@ -4,10 +4,10 @@
...
}:
with lib; let
networkD = config.machine.networkD;
inherit (config.machine) networkD;
in {
networking = {
hostName = config.machine.hostName;
inherit (config.machine) hostName;
useNetworkd = networkD.enable;
useDHCP = !networkD.enable;
dhcpcd.enable = !networkD.enable;

View file

@ -9,13 +9,13 @@ with lib; let
withDocker = config.virtualisation.docker.enable;
withPodman = config.virtualisation.podman.enable;
administrators = user: {
name = user.name;
inherit (user) name;
value = let
cfg = config.services;
passPath = config.sops.secrets."users/${user.name}/password".path;
in {
isNormalUser = true;
name = user.name;
inherit (user) name;
uid = user.id;
subUidRanges = optional withPodman {
startUid = 100000;
@ -41,9 +41,9 @@ with lib; let
};
mkusergroup = user: {
name = user.name;
inherit (user) name;
value = {
name = user.name;
inherit (user) name;
gid = user.id;
members = [user.name];
};