org fixes that were overwritten

This commit is contained in:
2023-09-24 22:34:36 -06:00
parent 0a0e835d1d
commit be565e25a2
2 changed files with 12 additions and 6 deletions

View File

@@ -661,6 +661,7 @@ services = {
enable = true; enable = true;
defaultEditor = true; defaultEditor = true;
package = pkgs.emacs; package = pkgs.emacs;
startWithUserSession = "graphical";
}; };
}; };
#+end_src #+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 - avahi: allows to discover/connect to devices through their hostname on the
same network. same network.
- fstrim/btrfs: file-system services. - fstrim/btrfs: file-system services.
- psd: profile-sync-daemon, loads the chrome/firefox profile to ram.
#+begin_src nix #+begin_src nix
services = { services = {

View File

@@ -358,6 +358,7 @@ users = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" "scanner" extraGroups = [ "wheel" "networkmanager" "scanner"
"lp" "piracy" "kavita" "video" "docker" "lp" "piracy" "kavita" "video" "docker"
"libvirt"
]; ];
initialPassword = "password"; initialPassword = "password";
openssh = { openssh = {
@@ -1139,15 +1140,20 @@ boot.kernelPackages = pkgs.linuxPackagesFor (pkgs.linux_6_1.override {
}); });
#+end_src #+end_src
* DOCKER * VIRTUALIZATION
Basic docker settings to be able to run some images, although most docker images Basic docker settings to be able to run some images, although most docker images
run on my server. run on my server.
libvirt allows me to run virtual machines and other operating systems.
#+begin_src nix #+begin_src nix
virtualisation.docker = { virtualisation = {
enable = true; docker = {
storageDriver = "btrfs"; enable = true;
enableNvidia = true; storageDriver = "btrfs";
enableNvidia = true;
};
libvirtd.enable = true;
}; };
#+end_src #+end_src