From: Duje Mihanović Date: Sun, 10 Sep 2023 17:20:32 +0000 (+0200) Subject: Convert to server config X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=4b1828646aebb4d29e88e167751a4111c19059fa;p=nixos-configuration.git Convert to server config --- diff --git a/configuration.nix b/configuration.nix index 4938bdf..61a1f8e 100644 --- a/configuration.nix +++ b/configuration.nix @@ -49,20 +49,6 @@ LC_TIME = "hr_HR.UTF-8"; }; - # 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 = { - layout = "hr"; - xkbVariant = ""; - xkbOptions = "caps:swapescape"; - }; - # Configure console keymap console.keyMap = "croat"; @@ -70,24 +56,7 @@ services.printing.enable = true; # Enable sound with pipewire. - sound.enable = true; - hardware.pulseaudio.enable = false; - security.rtkit.enable = true; - services.pipewire = { - enable = true; - alsa.enable = true; - alsa.support32Bit = true; - pulse.enable = true; - # If you want to use JACK applications, uncomment this - #jack.enable = true; - - # use the example session manager (no others are packaged yet so this is enabled by default, - # no need to redefine it in your config for now) - #media-session.enable = true; - }; - - # Enable touchpad support (enabled default in most desktopManager). - # services.xserver.libinput.enable = true; + sound.enable = false; programs.zsh = { enable = true; @@ -101,18 +70,9 @@ isNormalUser = true; description = "Duje"; extraGroups = [ "networkmanager" "wheel" "libvirtd" ]; - packages = with pkgs; [ - librewolf - thunderbird - dino - nheko - pass - passExtensions.pass-otp - passExtensions.pass-audit - passExtensions.pass-genphrase - ]; openssh.authorizedKeys.keys = - [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIMI2evf5v4ghSCJWacQJGMINjYW48WZYLvL6KIob1rd" ]; + [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIMI2evf5v4ghSCJWacQJGMINjYW48WZYLvL6KIob1rd" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKeuxm8MnRjkVnrE+lZjlI+MuqzvD78OmvSgd43UMJ6b" ]; shell = pkgs.zsh; }; @@ -126,7 +86,6 @@ # wget neovim lm_sensors - brasero ]; virtualisation.libvirtd.enable = true;