added basic system config
This commit is contained in:
25
configuration.nix
Normal file
25
configuration.nix
Normal 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" ];
|
||||
}
|
||||
Reference in New Issue
Block a user