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