Run linter+formatter.
This commit is contained in:
parent
8fd1b6c982
commit
e2330f01fc
16 changed files with 58 additions and 54 deletions
|
@ -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"
|
||||
''
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue