stuff
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
{ lib, ... }:
|
{ lib, namespace, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
|
let
|
||||||
|
inherit (lib.${namespace}) mkOpt;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
options.mjallen.programs.kitty = {
|
options.mjallen.programs.kitty = {
|
||||||
enable = mkEnableOption "enable kitty terminal";
|
enable = mkEnableOption "enable kitty terminal";
|
||||||
@@ -9,10 +12,9 @@ with lib;
|
|||||||
type = types.str;
|
type = types.str;
|
||||||
default = "DejaVu Sans";
|
default = "DejaVu Sans";
|
||||||
};
|
};
|
||||||
package = mkOption {
|
|
||||||
type = types.package;
|
package = mkOpt types.package pkgs.dejavu_fonts "Default font package";
|
||||||
default = pkgs.dejavu_fonts;
|
|
||||||
};
|
|
||||||
size = mkOption {
|
size = mkOption {
|
||||||
type = with types; int;
|
type = with types; int;
|
||||||
default = 12;
|
default = 12;
|
||||||
|
|||||||
@@ -61,12 +61,6 @@ in
|
|||||||
"/var/lib/systemd/coredump"
|
"/var/lib/systemd/coredump"
|
||||||
"/etc/NetworkManager/system-connections"
|
"/etc/NetworkManager/system-connections"
|
||||||
"/var/lib/tailscale"
|
"/var/lib/tailscale"
|
||||||
{
|
|
||||||
directory = "/var/lib/colord";
|
|
||||||
user = "colord";
|
|
||||||
group = "colord";
|
|
||||||
mode = "u=rwx,g=rx,o=";
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
directory = "/etc/nix";
|
directory = "/etc/nix";
|
||||||
user = "root";
|
user = "root";
|
||||||
@@ -77,12 +71,6 @@ in
|
|||||||
directory = "/var/lib/private";
|
directory = "/var/lib/private";
|
||||||
mode = "u=rwx,g=rx,o=";
|
mode = "u=rwx,g=rx,o=";
|
||||||
}
|
}
|
||||||
{
|
|
||||||
directory = "/media/nas";
|
|
||||||
user = "nas-apps";
|
|
||||||
group = "jallen-nas";
|
|
||||||
mode = "u=rwx,g=rx,o=rx";
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
++ cfg.extraDirectories;
|
++ cfg.extraDirectories;
|
||||||
files = [
|
files = [
|
||||||
|
|||||||
@@ -91,6 +91,12 @@
|
|||||||
group = "traefik";
|
group = "traefik";
|
||||||
mode = "u=rwx,g=rwx,o=rx";
|
mode = "u=rwx,g=rwx,o=rx";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
directory = "/media";
|
||||||
|
user = "nas-apps";
|
||||||
|
group = "jallen-nas";
|
||||||
|
mode = "u=rwx,g=rx,o=rx";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user