Restructured NixOS system configurations to be more modularized

This commit is contained in:
lulusilly 2025-09-13 19:23:00 -04:00
parent 4326a51ef7
commit 4cf7c21ed8
6 changed files with 94 additions and 176 deletions

View file

@ -1,6 +1,14 @@
{ config, lib, pkgs, inputs, ... }:
{
# Set default user lunita
users.users.lunita = {
isNormalUser = true;
description = "Lunita";
extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [];
shell = pkgs.zsh;
};
# Enable automatic system updates
system.autoUpgrade = {
enable = true;
@ -30,16 +38,12 @@
};
# Basic configuration stuff - WiFi, Xserver keyboard layout, Stylix
networking.networkmanager.enable = true;
time.timeZone = "America/St_Thomas";
time.timeZone = "America/St_Thomas"; # Timezone => AST
i18n.defaultLocale = "en_US.UTF-8";
services.xserver.xkb = {
layout = "us";
variant = "";
};
stylix = {
enable = true;
image = ./bg.jpg;
};
# Zsh
programs.zsh.enable = true;
# Browser