konsta config

This commit is contained in:
shinya 2026-05-26 18:29:23 +02:00
parent 312c77654e
commit d58ba5d513
3 changed files with 32 additions and 24 deletions

View File

@ -12,13 +12,15 @@
];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
networking.hostName = "nixos"; # Define your hostname.
# Configure network connections interactively with nmcli or nmtui.
networking.networkmanager.enable = true;
networking = {
hostName = "kagari"; # Define your hostname.
networkmanager.enable = true;
};
# Set your time zone.
time.timeZone = "Europe/Prague";
@ -36,10 +38,10 @@
# };
# Enable the X11 windowing system.
# services.xserver.enable = true;
services.xserver = {
enable = true;
displayManager.mate.enable = true;
};
# Configure keymap in X11
# services.xserver.xkb.layout = "us";
@ -60,22 +62,25 @@
# services.libinput.enable = true;
# Define a user account. Don't forget to set a password with passwd.
users.users.shinya = {
users.users.konsta = {
isNormalUser = true;
initialPassword = "12345";
extraGroups = [ "wheel" ]; # Enable sudo for the user.
packages = with pkgs; [
tree
keepassxc
gimp
inkscape
libreoffice
];
};
# programs.firefox.enable = true;
programs.firefox.enable = true;
# List packages installed in system profile.
# You can use https://search.nixos.org/ to find more packages (and options).
environment.systemPackages = with pkgs; [
helix
wget
];
# Some programs need SUID wrappers, can be configured further or are

View File

@ -12,7 +12,7 @@
};
disko.devices.disk.main = {
device = "/dev/vda"; # MAKE SURE TOO SELECT CORRECT DISK HERE
device = "/dev/sda"; # MAKE SURE TOO SELECT CORRECT DISK HERE
type = "disk";
content.type = "gpt";

View File

@ -20,16 +20,19 @@
];
# Preserve user files
# users.yurii = {
# directories = [
# ".ssh"
# ".mozilla"
# ];
#
# files = [
#
# ];
# };
users.konsta = {
directories = [
".mozilla"
"Documents"
"Downloads"
"Desktop"
"Pictures"
];
#
files = [
];
};
};
};
}