Clean up systms

This commit is contained in:
jopejoe1 2024-01-15 19:56:37 +01:00
parent a80a6a0b1d
commit ef6b1a72e4
17 changed files with 101 additions and 65 deletions

View file

@ -9,6 +9,7 @@
./boot
./events
./kodi
./keyboard
./local
./minecraft-server
./moodle-dl

View file

@ -0,0 +1,26 @@
{ config, lib, pkgs, ... }:
let cfg = config.jopejoe1.keyboard;
in {
options.jopejoe1.keyboard = {
enable = lib.mkEnableOption "Enable Keyboard";
layout = lib.mkOption {
type = lib.types.str;
default = "us";
description = lib.mdDoc "Keyboard Layout.";
};
};
config = lib.mkIf cfg.enable {
services = {
xserver = {
layout = cfg.layout;
};
};
console = {
enable = true;
keyMap = "de";
};
};
}

View file

@ -66,7 +66,6 @@ in {
];
};
system.stateVersion = "24.05";
systemd.services.nix-daemon.serviceConfig.LimitNOFILE = lib.mkForce 1048576000;
};
}