📦 Created config files with common code

- Created common.nix for various configs
- Created theme.nix for theme related configs
- Moved some code to more logical files
- Moved some standalone files into nix multiline strings, in order to
  inject data
This commit is contained in:
2025-01-07 20:18:30 +01:00
parent e223999ae1
commit 1133e01eff
31 changed files with 650 additions and 675 deletions

23
common.nix Normal file
View File

@ -0,0 +1,23 @@
rec {
keymaps = {
layout = "gb,no";
options = "grp:alt_shift_toggle"; # Toggle using ALT + SHIFT
};
username = "martin";
hostname = "nixos";
dir = {
home = "/home/${username}";
pictures = "${dir.home}/Pictures";
};
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.version = "24.11";
terminal = "kitty";
}