Initial minimal susano config

This commit is contained in:
Alexander Derevianko
2025-07-26 09:31:44 +02:00
commit 472ef2d0d0
6 changed files with 245 additions and 0 deletions
+57
View File
@@ -0,0 +1,57 @@
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
./disko-config.nix
];
# Bootloader.
boot.loader.grub.enable = true;
# boot.loader.grub.device = "/dev/sda";
boot.loader.grub.useOSProber = true;
networking.hostName = "susano";
networking.networkmanager.enable = true;
# Set your time zone.
time.timeZone = "Europe/Warsaw";
# Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "en_GB.UTF-8";
LC_IDENTIFICATION = "en_GB.UTF-8";
LC_MEASUREMENT = "en_GB.UTF-8";
LC_MONETARY = "en_GB.UTF-8";
LC_NAME = "en_GB.UTF-8";
LC_NUMERIC = "en_GB.UTF-8";
LC_PAPER = "en_GB.UTF-8";
LC_TELEPHONE = "en_GB.UTF-8";
LC_TIME = "en_GB.UTF-8";
};
security.rtkit.enable = true;
# Define a user account. Don't forget to set a password with passwd.
users.users.susano = {
isNormalUser = true;
description = "susano";
initialPassword = "test";
extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [
];
};
programs.firefox.enable = true;
environment.systemPackages = with pkgs; [
vim
wget
];
system.stateVersion = "25.05";
}