diff options
Diffstat (limited to 'modules/system')
| -rw-r--r-- | modules/system/keyboard.nix | 6 | ||||
| -rw-r--r-- | modules/system/keys.nix | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/system/keyboard.nix b/modules/system/keyboard.nix index 1333637..e02bf6b 100644 --- a/modules/system/keyboard.nix +++ b/modules/system/keyboard.nix @@ -3,9 +3,9 @@ lib, ... }: { - flake.nixosModule.keyboard = {...}: { - xkb = { - layout = lib.mkDefauklt "cz"; + flake.nixosModules.keyboard = {...}: { + services.xserver.xkb = { + layout = lib.mkDefault "cz"; options = lib.mkDefault "eurosign:e,caps:escape"; }; }; diff --git a/modules/system/keys.nix b/modules/system/keys.nix index 8c4a38c..28ef552 100644 --- a/modules/system/keys.nix +++ b/modules/system/keys.nix @@ -1,6 +1,6 @@ # Mount and unmount scripts for the encrypted usb drive on my keys for easy access of ssh keys {...}: { - flake.nixosModule.keys = {pkgs, ...}: { + flake.nixosModules.keys = {pkgs, ...}: { systemd.tmpfiles.rules = [ "d /mnt/ssh-keys 0755 root root -" "d /mnt/nixos-config 0755 root root -" |
