diff --git a/systems/PC-Fixe/configuration.nix b/systems/PC-Fixe/configuration.nix index dd66d01..656a575 100644 --- a/systems/PC-Fixe/configuration.nix +++ b/systems/PC-Fixe/configuration.nix @@ -17,20 +17,17 @@ efiSupport = true; device = "nodev"; zfsSupport = true; + gfxmodeEfi = "1920x1080,auto"; memtest86.enable = true; + fontSize = 32; }; boot.kernelParams = ["acpi_enforce_resources=lax"]; boot.tmpOnTmpfs = true; boot.supportedFilesystems = [ "zfs" ]; - boot.kernelPatches = [ - { name = "dirt_rally_2_ffb_fix"; - patch = pkgs.fetchpatch { - url = "https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git/patch/?id=09264098ff153f60866039d60b31d39b66f55a31"; - sha256 = "17g7zvn46b9252qk4sqd3j73989lr0hkd86zz4bq1c4dhziy219w"; - }; - } - ]; + virtualisation.virtualbox.host.enable = true; + # virtualisation.virtualbox.host.enableExtensionPack = true; + virtualisation.anbox.enable = true; services.zfs = { trim.enable = true; @@ -68,14 +65,14 @@ networking.firewall.enable = false; - services.xserver.displayManager.sddm.autoLogin = { + services.xserver.displayManager.autoLogin = { enable = true; user = "paul"; }; users.users.paul = { isNormalUser = true; - extraGroups = [ "wheel" "networkmanager" "wireshark" "input" "dialout" "libvirtd" ]; + extraGroups = [ "wheel" "networkmanager" "wireshark" "input" "dialout" "libvirtd" "vboxusers" ]; uid = 1000; openssh.authorizedKeys.keys = [ "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDstFRwMoTEip5IBSYE4dUj3miO0LsKrnUKQJmp7d5QYo3VhXk43jU6VUU0tVAegkzWLlQ3ohoFns+8bZyf7hj7roftrDfoC9bbbx4ihhWrZTlF0gzoH4t52yetFO5eC/tV2sm/zFoa+3IWLokOEFmAoknAVag1MmVLXTQ6WPoTPD4UsX/D3lyE4dbSKxHpMOIjqIdqSEgO0BeTdnHe5afvGXXO1VYTvPsGDHT9w8EHwQV9JXIPn7KVOp3qin7OwvFFrrB3QbiEVTJvGiH2hrfxcARTN/+TxGtf+aOFeuQykURG9Wz/aBK60EWE0wGrzuIymxtNdOR1NhmnNrUZ976Tb9WdR7FC+yM6+/kdfICy+sGQmmn8TLsGvcJTT/pl4Pa9uRAKjRJuLIEgYY6W/ms9lCRyf484yRkDlq+V0BPuN9Jy6Eb7x+tmZNkpEtkqso7wfXD8sf5BIwv2K69SVMpfTswydHGmDwHZ0zaDKGlyCiyJ1QGqUhCTXqtYVq+kQ3AcjKcysMwVEmwx/ySu0XFuV8oUkl9XK/RUoc++sMEd0EbHcn8uwCmBARNX+GLQ03vxwyMW3HyneP8EAxoqtSepZXbTdVP/0i+l7EUUeA7zsaWfU2a82ktZWpVPFGfxkuo0l3zLF19EsXPKZNqlRfkOWjSgp+qWihAkQIQk3GoduQ== openpgp:0x75EE3375" @@ -93,6 +90,18 @@ services.openssh.passwordAuthentication = false; services.openssh.forwardX11 = true; + systemd.services = { + "wol" = { + description = "Wake-on-LAN"; + wantedBy = [ "multi-user.target" ]; + requires = [ "network.target" ]; + after = [ "network.target" ]; + script = '' + ${pkgs.ethtool}/sbin/ethtool -s eno1 wol g + ''; + serviceConfig.Type = "oneshot"; + }; + }; system.stateVersion = "20.03"; } diff --git a/systems/common-gui.nix b/systems/common-gui.nix index 4c90469..a9c5b3a 100644 --- a/systems/common-gui.nix +++ b/systems/common-gui.nix @@ -12,7 +12,6 @@ (winetricks.override { wine = wineWowPackages.staging; }) - steam sc-controller steam-run minecraft @@ -24,13 +23,14 @@ electrum electron-cash ledger-live-desktop + monero-gui firefox torbrowser chromium tdesktop - riot-desktop + element-desktop mumble discord @@ -79,11 +79,9 @@ console.keyMap = "fr"; + programs.steam.enable = true; + hardware = { - opengl.driSupport32Bit = true; - pulseaudio.support32Bit = true; - steam-hardware.enable = true; - u2f.enable = true; pulseaudio.enable = true; }; @@ -124,4 +122,9 @@ ]; }; }; + + environment.etc = { + # CK3 fix + "ssl/certs/f387163d.0".source = "${pkgs.cacert.unbundled}/etc/ssl/certs/Starfield_Class_2_CA.crt"; + }; }