📦 Moved more configs to common files, and refactored code with common

This commit is contained in:
2025-01-08 19:47:02 +01:00
parent 57ebb73095
commit 89acd3e5cb
15 changed files with 317 additions and 243 deletions

View File

@ -1,16 +1,26 @@
rec {
default = {
browser = "io.github.zen_browser.zen.desktop";
calculator = "gnome-calculator";
fileManager = "nautilus";
imageViewer = "org.gnome.Loupe.desktop";
lockScreen = "hyprlock";
terminal = "kitty";
};
dir = {
home = "/home/${username}";
pictures = "${dir.home}/Pictures";
};
hostname = "nixos";
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
@ -19,5 +29,5 @@ rec {
# 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";
terminal = default.terminal; # TODO remove
}