konsta config
This commit is contained in:
parent
312c77654e
commit
d58ba5d513
@ -12,13 +12,15 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader = {
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
systemd-boot.enable = true;
|
||||||
|
efi.canTouchEfiVariables = true;
|
||||||
|
};
|
||||||
|
|
||||||
networking.hostName = "nixos"; # Define your hostname.
|
networking = {
|
||||||
|
hostName = "kagari"; # Define your hostname.
|
||||||
# Configure network connections interactively with nmcli or nmtui.
|
networkmanager.enable = true;
|
||||||
networking.networkmanager.enable = true;
|
};
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "Europe/Prague";
|
time.timeZone = "Europe/Prague";
|
||||||
@ -36,10 +38,10 @@
|
|||||||
# };
|
# };
|
||||||
|
|
||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
# services.xserver.enable = true;
|
services.xserver = {
|
||||||
|
enable = true;
|
||||||
|
displayManager.mate.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
# Configure keymap in X11
|
# Configure keymap in X11
|
||||||
# services.xserver.xkb.layout = "us";
|
# services.xserver.xkb.layout = "us";
|
||||||
@ -60,22 +62,25 @@
|
|||||||
# services.libinput.enable = true;
|
# services.libinput.enable = true;
|
||||||
|
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
users.users.shinya = {
|
users.users.konsta = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
initialPassword = "12345";
|
initialPassword = "12345";
|
||||||
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
tree
|
tree
|
||||||
|
keepassxc
|
||||||
|
gimp
|
||||||
|
inkscape
|
||||||
|
libreoffice
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# programs.firefox.enable = true;
|
programs.firefox.enable = true;
|
||||||
|
|
||||||
# List packages installed in system profile.
|
# List packages installed in system profile.
|
||||||
# You can use https://search.nixos.org/ to find more packages (and options).
|
# You can use https://search.nixos.org/ to find more packages (and options).
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
helix
|
helix
|
||||||
wget
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Some programs need SUID wrappers, can be configured further or are
|
# Some programs need SUID wrappers, can be configured further or are
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
disko.devices.disk.main = {
|
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";
|
type = "disk";
|
||||||
|
|
||||||
content.type = "gpt";
|
content.type = "gpt";
|
||||||
|
|||||||
@ -20,16 +20,19 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
# Preserve user files
|
# Preserve user files
|
||||||
# users.yurii = {
|
users.konsta = {
|
||||||
# directories = [
|
directories = [
|
||||||
# ".ssh"
|
".mozilla"
|
||||||
# ".mozilla"
|
"Documents"
|
||||||
# ];
|
"Downloads"
|
||||||
#
|
"Desktop"
|
||||||
# files = [
|
"Pictures"
|
||||||
#
|
];
|
||||||
# ];
|
#
|
||||||
# };
|
files = [
|
||||||
|
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user