fix(xorg): missing keyboard layout

fix: impermanence user
This commit is contained in:
Patrick Großmann 2023-10-13 15:00:30 +02:00
parent 4978892d2a
commit af9772c17f
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
5 changed files with 52 additions and 35 deletions

View file

@ -1,4 +1,8 @@
{inputs, ...}: {
{
inputs,
lib,
...
}: {
imports = [
inputs.nixos-hardware.nixosModules.common-gpu-nvidia-nonprime
inputs.nixos-hardware.nixosModules.common-pc
@ -34,4 +38,8 @@
applications = 10;
desktop = 10;
};
services.xserver = {
layout = "de";
xkbVariant = "neo";
};
}

View file

@ -1,4 +1,8 @@
{inputs, ...}: {
{
inputs,
lib,
...
}: {
imports = [
inputs.nixos-hardware.nixosModules.common-cpu-intel
inputs.nixos-hardware.nixosModules.common-gpu-intel
@ -40,5 +44,10 @@
services.xserver = {
layout = "de";
xkbVariant = "bone";
libinput = {
touchpad = lib.mkForce {
accelSpeed = "0.5";
};
};
};
}

View file

@ -14,4 +14,8 @@
./net.nix
./fs.nix
];
services.xserver = {
layout = "de";
xkbVariant = "bone";
};
}

View file

@ -6,9 +6,6 @@
...
}:
lib.optionalAttrs (!minimal) {
imports = [
];
users.users.patrick = {
shell = pkgs.zsh;
isNormalUser = true;

View file

@ -3,40 +3,39 @@
lib,
...
}: {
home.persistence =
{
"/state" = {
directories = [
"repos"
"Downloads"
home.persistence = {
"/state" = {
directories = [
"repos"
"Downloads"
# For nextcloud client install
"Nextcloud"
".config/Nextcloud"
# For nextcloud client install
"Nextcloud"
".config/Nextcloud"
# for electron signal app state
".config/Signal"
".config/discord"
".local/share/TelegramDesktop"
# for electron signal app state
".config/Signal"
".config/discord"
".local/share/TelegramDesktop"
# Folders for steam
".local/share/Steam"
".steam"
# Ken follets pillars of earth
".local/share//Daedalic Entertainment GmbH/"
# Nvidia shader cache
".cache/nvidia"
# Vulkan shader cache
".local/share/vulkan"
# Folders for steam
".local/share/Steam"
".steam"
# Ken follets pillars of earth
".local/share//Daedalic Entertainment GmbH/"
# Nvidia shader cache
".cache/nvidia"
# Vulkan shader cache
".local/share/vulkan"
# bottles state games
".local/share/bottles"
];
};
}
// lib.mkIf (nixosConfig.disko.devices.zpool ? "panzer") {
"/panzer/state".directories = [
".local/share/SteamPanzer"
# bottles state games
".local/share/bottles"
];
};
"/panzer/state".directories =
lib.lists.optionals (nixosConfig.disko.devices.zpool ? "panzer")
[
".local/share/SteamPanzer"
];
};
}