added basic system config

This commit is contained in:
2025-02-06 16:27:29 +01:00
parent 96c5be4d22
commit e221fa4f0d

25
configuration.nix Normal file
View File

@@ -0,0 +1,25 @@
{ config, lib, systemSettings, ... }:
{
imports = [ ];
time.timeZone = systemSettings.timezone;
i18n.defaultLocale = systemSettings.locale;
services.xserver.xkb.layout = systemSettings.kbLayout;
users.users.${systemSettings.username} = {
isNormalUser = true;
uid = 1000;
extraGroups = [ "wheel" "networkmanager" "video" "audio" "lp" ];
packages = with pkgs; [
fastfetch
];
password = "password";
};
nixpkgs.config.allowUnfree = true;
system.stateVersion = "24.11";
nix.settings.experimental-features = [ "nix-command" "flakes" ];
}