diff --git a/server/configuration.org b/server/configuration.org index 4572f55..359074c 100755 --- a/server/configuration.org +++ b/server/configuration.org @@ -661,6 +661,7 @@ services = { enable = true; defaultEditor = true; package = pkgs.emacs; + startWithUserSession = "graphical"; }; }; #+end_src @@ -821,7 +822,6 @@ Miscellaneous services, most of which are managed by systemd. - avahi: allows to discover/connect to devices through their hostname on the same network. - fstrim/btrfs: file-system services. -- psd: profile-sync-daemon, loads the chrome/firefox profile to ram. #+begin_src nix services = { diff --git a/workstation/configuration.org b/workstation/configuration.org index 8dbade1..213f459 100644 --- a/workstation/configuration.org +++ b/workstation/configuration.org @@ -358,6 +358,7 @@ users = { isNormalUser = true; extraGroups = [ "wheel" "networkmanager" "scanner" "lp" "piracy" "kavita" "video" "docker" + "libvirt" ]; initialPassword = "password"; openssh = { @@ -1139,15 +1140,20 @@ boot.kernelPackages = pkgs.linuxPackagesFor (pkgs.linux_6_1.override { }); #+end_src -* DOCKER +* VIRTUALIZATION Basic docker settings to be able to run some images, although most docker images run on my server. +libvirt allows me to run virtual machines and other operating systems. + #+begin_src nix -virtualisation.docker = { - enable = true; - storageDriver = "btrfs"; - enableNvidia = true; +virtualisation = { + docker = { + enable = true; + storageDriver = "btrfs"; + enableNvidia = true; + }; + libvirtd.enable = true; }; #+end_src