igor: Update config
This commit is contained in:
parent
685d8ade01
commit
dac0dec0f3
3 changed files with 65 additions and 11 deletions
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
{
|
||||
imports = [
|
||||
inputs.disko.nixosModules.disko
|
||||
./hardware-configuration.nix
|
||||
../../modules/security.nix
|
||||
../../modules/nix-config.nix
|
||||
../../modules/iohk.nix
|
||||
|
|
@ -14,10 +14,15 @@
|
|||
../../modules/keybase.nix
|
||||
../../modules/ssh.nix
|
||||
../../modules/tailscale
|
||||
./disko-config.nix
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
config.boot.loader.grub.enable = true;
|
||||
config.boot.loader.grub.efiSupport = true;
|
||||
config.boot.loader.grub.efiInstallAsRemovable = true;
|
||||
config.boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
||||
# Define on which hard drive you want to install Grub.
|
||||
config.boot.loader.grub.device = "/dev/sdb"; # or "nodev" for efi only
|
||||
|
||||
config.networking = {
|
||||
hostName = "igor";
|
||||
domain = "failco.de";
|
||||
|
|
@ -25,7 +30,7 @@
|
|||
useDHCP = false;
|
||||
enableIPv6 = false;
|
||||
networkmanager.enable = true;
|
||||
interfaces.eth0 = {
|
||||
interfaces.enp0s25 = {
|
||||
ipv4.addresses = [
|
||||
{
|
||||
address = "192.168.178.2";
|
||||
|
|
@ -55,6 +60,37 @@
|
|||
keyMap = "dvorak";
|
||||
};
|
||||
|
||||
# Set your time zone.
|
||||
config.time.timeZone = "Europe/Berlin";
|
||||
|
||||
# Enable the X11 windowing system.
|
||||
services.xserver.enable = true;
|
||||
|
||||
# Enable the GNOME Desktop Environment.
|
||||
services.xserver.displayManager.gdm.enable = true;
|
||||
services.xserver.desktopManager.gnome.enable = true;
|
||||
|
||||
# Configure keymap in X11
|
||||
services.xserver.xkb.layout = "us";
|
||||
services.xserver.xkb.variant = "dvorak";
|
||||
services.xserver.xkb.options = "eurosign:e,caps:escape";
|
||||
|
||||
# Enable CUPS to print documents.
|
||||
services.printing.enable = true;
|
||||
|
||||
# Enable sound.
|
||||
# hardware.pulseaudio.enable = true;
|
||||
# OR
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
|
||||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
services.libinput.enable = true;
|
||||
|
||||
programs.firefox.enable = true;
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
config.users.users.alex = {
|
||||
isNormalUser = true;
|
||||
|
|
@ -71,5 +107,6 @@
|
|||
|
||||
config.programs.zsh.enable = true;
|
||||
|
||||
config.system.copySystemConfiguration = true;
|
||||
config.system.stateVersion = "24.11";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue