mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-06-07 13:29:22 +02:00
Clean up systms
This commit is contained in:
parent
a80a6a0b1d
commit
ef6b1a72e4
17 changed files with 101 additions and 65 deletions
|
@ -9,6 +9,7 @@
|
|||
./boot
|
||||
./events
|
||||
./kodi
|
||||
./keyboard
|
||||
./local
|
||||
./minecraft-server
|
||||
./moodle-dl
|
||||
|
|
26
modules/keyboard/default.nix
Normal file
26
modules/keyboard/default.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -66,7 +66,6 @@ in {
|
|||
];
|
||||
};
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
systemd.services.nix-daemon.serviceConfig.LimitNOFILE = lib.mkForce 1048576000;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue