igor: Update config
This commit is contained in:
parent
dac0dec0f3
commit
981e98da94
2 changed files with 45 additions and 12 deletions
|
|
@ -19,7 +19,7 @@
|
||||||
config.boot.loader.grub.enable = true;
|
config.boot.loader.grub.enable = true;
|
||||||
config.boot.loader.grub.efiSupport = true;
|
config.boot.loader.grub.efiSupport = true;
|
||||||
config.boot.loader.grub.efiInstallAsRemovable = true;
|
config.boot.loader.grub.efiInstallAsRemovable = true;
|
||||||
config.boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
#config.boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
||||||
# Define on which hard drive you want to install Grub.
|
# Define on which hard drive you want to install Grub.
|
||||||
config.boot.loader.grub.device = "/dev/sdb"; # or "nodev" for efi only
|
config.boot.loader.grub.device = "/dev/sdb"; # or "nodev" for efi only
|
||||||
|
|
||||||
|
|
@ -64,32 +64,34 @@
|
||||||
config.time.timeZone = "Europe/Berlin";
|
config.time.timeZone = "Europe/Berlin";
|
||||||
|
|
||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
services.xserver.enable = true;
|
config.services.xserver.enable = true;
|
||||||
|
|
||||||
|
config.services.logind.lidSwitch = "lock";
|
||||||
|
|
||||||
# Enable the GNOME Desktop Environment.
|
# Enable the GNOME Desktop Environment.
|
||||||
services.xserver.displayManager.gdm.enable = true;
|
config.services.xserver.displayManager.gdm.enable = true;
|
||||||
services.xserver.desktopManager.gnome.enable = true;
|
config.services.xserver.desktopManager.gnome.enable = true;
|
||||||
|
|
||||||
# Configure keymap in X11
|
# Configure keymap in X11
|
||||||
services.xserver.xkb.layout = "us";
|
config.services.xserver.xkb.layout = "us";
|
||||||
services.xserver.xkb.variant = "dvorak";
|
config.services.xserver.xkb.variant = "dvorak";
|
||||||
services.xserver.xkb.options = "eurosign:e,caps:escape";
|
config.services.xserver.xkb.options = "eurosign:e,caps:escape";
|
||||||
|
|
||||||
# Enable CUPS to print documents.
|
# Enable CUPS to print documents.
|
||||||
services.printing.enable = true;
|
config.services.printing.enable = true;
|
||||||
|
|
||||||
# Enable sound.
|
# Enable sound.
|
||||||
# hardware.pulseaudio.enable = true;
|
# hardware.pulseaudio.enable = true;
|
||||||
# OR
|
# OR
|
||||||
services.pipewire = {
|
config.services.pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable touchpad support (enabled default in most desktopManager).
|
# Enable touchpad support (enabled default in most desktopManager).
|
||||||
services.libinput.enable = true;
|
config.services.libinput.enable = true;
|
||||||
|
|
||||||
programs.firefox.enable = true;
|
config.programs.firefox.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’.
|
||||||
config.users.users.alex = {
|
config.users.users.alex = {
|
||||||
|
|
@ -107,6 +109,5 @@
|
||||||
|
|
||||||
config.programs.zsh.enable = true;
|
config.programs.zsh.enable = true;
|
||||||
|
|
||||||
config.system.copySystemConfiguration = true;
|
|
||||||
config.system.stateVersion = "24.11";
|
config.system.stateVersion = "24.11";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,38 @@
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
|
fileSystems."/" =
|
||||||
|
{ device = "/dev/disk/by-uuid/e7720a57-f96a-4f37-a2ad-43527868418c";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = [ "subvol=rootfs" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/.swapvol" =
|
||||||
|
{ device = "/dev/disk/by-uuid/e7720a57-f96a-4f37-a2ad-43527868418c";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = [ "subvol=swap" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/boot" =
|
||||||
|
{ device = "/dev/disk/by-uuid/2EDA-47FD";
|
||||||
|
fsType = "vfat";
|
||||||
|
options = [ "fmask=0022" "dmask=0022" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/home" =
|
||||||
|
{ device = "/dev/disk/by-uuid/e7720a57-f96a-4f37-a2ad-43527868418c";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = [ "subvol=home" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/nix" =
|
||||||
|
{ device = "/dev/disk/by-uuid/e7720a57-f96a-4f37-a2ad-43527868418c";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = [ "subvol=nix" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
swapDevices = [ ];
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
# still possible to use this option, but it's recommended to use it in conjunction
|
# still possible to use this option, but it's recommended to use it in conjunction
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue