added a bunch of nixos modules

This commit is contained in:
2026-09-01 23:16:16 +02:00
parent cfa9ff6a54
commit 054f3f9994
31 changed files with 302 additions and 19 deletions
+8
View File
@@ -0,0 +1,8 @@
{ ... }: {
flake.modules.nixos.flake = {
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
};
}
+27
View File
@@ -0,0 +1,27 @@
{ ... }: {
flake.modules.nixos.keyd = {
services.keyd = {
enable = true;
keyboards = {
default = {
ids = [ "*" ];
settings = {
main = {
capslock = "esc";
};
alt = {
u = "G-u";
a = "G-a";
o = "G-o";
s = "G-s";
U = "G-U";
A = "G-A";
O = "G-O";
S = "G-S";
};
};
};
};
};
};
}
+10
View File
@@ -0,0 +1,10 @@
{ self, ... }:
{
flake.modules.nixos.misc = { ... }: {
imports = [
self.modules.nixos.flake
self.modules.nixos.keyd
self.modules.nixos.stateversion
];
};
}
+8
View File
@@ -0,0 +1,8 @@
{ ... }: {
flake.modules.nixos.stateversion = {
system.stateVersion = "24.05";
};
flake.modules.homeManager.stateversion = {
home.stateVersion = "26.05";
};
}