diff --git a/systems/ASUS-G46VW/configuration.nix b/systems/ASUS-G46VW/configuration.nix index 0868f22..bec120c 100644 --- a/systems/ASUS-G46VW/configuration.nix +++ b/systems/ASUS-G46VW/configuration.nix @@ -21,6 +21,7 @@ # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; + boot.tmpOnTmpfs = true; boot.plymouth.enable = true; hardware.bumblebee.enable = true; @@ -74,10 +75,16 @@ gcc nix-index appimage-run + bat + wireguard + nfsUtils gopass xclip + electrum + electron-cash + firefox chromium torbrowser @@ -100,6 +107,9 @@ gwenview kcalc spectacle + kile + texlive.combined.scheme-full + imagemagick gnome-breeze arc-theme @@ -158,8 +168,24 @@ # Or disable the firewall altogether. networking.firewall.enable = false; + networking.wireguard.interfaces = { + wg0 = { + ips = [ "192.168.20.2/24" ]; + allowedIPsAsRoutes = false; + peers = [ + { + allowedIPs = [ "0.0.0.0/0" ]; + endpoint = "nyanlout.re:51820"; + publicKey = "NVLJ30kNP+fK+K3oM1LAcQpvZvz1dvBD8mWNjDf5Z2k="; + } + ]; + privateKeyFile = "/var/lib/wireguard/wg0.privatekey"; + }; + }; + # Enable CUPS to print documents. services.printing.enable = true; + services.printing.drivers = [ pkgs.hplip ]; # Enable sound. sound.enable = true; @@ -191,7 +217,7 @@ programs.zsh.enableCompletion = true; programs.zsh.syntaxHighlighting.enable = true; programs.zsh.ohMyZsh.enable = true; - programs.zsh.ohMyZsh.plugins = [ "git" "colored-man-pages" "command-not-found" "extract" "nyan" ]; + programs.zsh.ohMyZsh.plugins = [ "git" "colored-man-pages" "command-not-found" "extract" ]; programs.zsh.ohMyZsh.theme = "bureau"; nix.gc.automatic = true; diff --git a/systems/ASUS-G46VW/hardware-configuration.nix b/systems/ASUS-G46VW/hardware-configuration.nix index dd58e6a..2847d6a 100644 --- a/systems/ASUS-G46VW/hardware-configuration.nix +++ b/systems/ASUS-G46VW/hardware-configuration.nix @@ -22,6 +22,12 @@ fsType = "vfat"; }; + fileSystems."/mnt/medias_loutreos" = { + device = "192.168.20.1:/mnt/medias"; + fsType = "nfs"; + options = ["x-systemd.automount" "noauto"]; + }; + swapDevices = [ { device = "/dev/disk/by-uuid/156cd5e8-715c-48a5-9df4-14565227a6c9"; } ];