Refactor hosts folder

This commit is contained in:
2025-11-29 22:51:38 +01:00
parent 4e32e95eab
commit df731b0703
30 changed files with 214 additions and 1080 deletions

View File

@@ -1,41 +1,10 @@
{ config, ... }:
{
config,
lib,
...
}:
{
imports = [
# Choose your theme here:
../../modules/themes/catppuccin.nix
];
config.var = {
hostname = "altair";
username = "kiri";
configDirectory = "/home/" + config.var.username + "/.config/nixos"; # The path of the nixos configuration directory
keyboardLayout = "us";
hyprsunset.temperature = 2000;
location = "Meterik";
timeZone = "Europe/Amsterdam";
defaultLocale = "en_US.UTF-8";
timeLocale = "en_DK.UTF-8";
numericLocale = "en_IE.UTF-8";
otherLocale = "nl_NL.UTF-8";
git = {
username = "kiri";
email = "mail@jelles.net";
};
preferred = {
editor = "nvim";
terminal = "kitty";
browser = "brave";
};
autoUpgrade = false;
autoGarbageCollector = true;
hyprland = {
workspace = [
"1, monitor:desc:California Institute of Technology 0x1410, persistent:true, default:true"
@@ -52,12 +21,4 @@
];
};
};
# Let this here
options = {
var = lib.mkOption {
type = lib.types.attrs;
default = { };
};
};
}