From 9e7f38133d83d027862ba78690dad289caf46052 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Tue, 23 Jun 2020 01:06:30 +0200 Subject: [PATCH 1/8] patch kernel ffb Dirt rallye upstream --- systems/PC-Fixe/configuration.nix | 9 --------- 1 file changed, 9 deletions(-) diff --git a/systems/PC-Fixe/configuration.nix b/systems/PC-Fixe/configuration.nix index dd66d01..834112a 100644 --- a/systems/PC-Fixe/configuration.nix +++ b/systems/PC-Fixe/configuration.nix @@ -23,15 +23,6 @@ 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"; - }; - } - ]; - services.zfs = { trim.enable = true; autoSnapshot = { From 19fc863396079aa7b6856cf0c82154d3da8d9716 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Tue, 23 Jun 2020 01:08:15 +0200 Subject: [PATCH 2/8] activation wakeonlan --- systems/PC-Fixe/configuration.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/systems/PC-Fixe/configuration.nix b/systems/PC-Fixe/configuration.nix index 834112a..84958ac 100644 --- a/systems/PC-Fixe/configuration.nix +++ b/systems/PC-Fixe/configuration.nix @@ -84,6 +84,7 @@ services.openssh.passwordAuthentication = false; services.openssh.forwardX11 = true; + services.wakeonlan.interfaces = [ { interface = "eno1"; method = "magicpacket"; } ]; system.stateVersion = "20.03"; } From 60ba1ecca6bda5c20958aef38b3b174ca054296c Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Tue, 23 Jun 2020 01:08:37 +0200 Subject: [PATCH 3/8] installation gui monero --- systems/common-gui.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systems/common-gui.nix b/systems/common-gui.nix index 4c90469..ac3086a 100644 --- a/systems/common-gui.nix +++ b/systems/common-gui.nix @@ -24,6 +24,7 @@ electrum electron-cash ledger-live-desktop + monero-gui firefox torbrowser @@ -83,7 +84,6 @@ opengl.driSupport32Bit = true; pulseaudio.support32Bit = true; steam-hardware.enable = true; - u2f.enable = true; pulseaudio.enable = true; }; From ef342c79aedb1b26603e8ff215d05bad4bdfb676 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Tue, 6 Oct 2020 00:19:43 +0200 Subject: [PATCH 4/8] fullscreen GRUB --- systems/PC-Fixe/configuration.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/systems/PC-Fixe/configuration.nix b/systems/PC-Fixe/configuration.nix index 84958ac..0bf4c4b 100644 --- a/systems/PC-Fixe/configuration.nix +++ b/systems/PC-Fixe/configuration.nix @@ -17,7 +17,9 @@ efiSupport = true; device = "nodev"; zfsSupport = true; + gfxmodeEfi = "1920x1080,auto"; memtest86.enable = true; + fontSize = 32; }; boot.kernelParams = ["acpi_enforce_resources=lax"]; boot.tmpOnTmpfs = true; From ffe9aa77c1e3ecad8729945759049bc99c5a8fdb Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Tue, 6 Oct 2020 00:20:54 +0200 Subject: [PATCH 5/8] activation anbox et virtualbox --- systems/PC-Fixe/configuration.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/systems/PC-Fixe/configuration.nix b/systems/PC-Fixe/configuration.nix index 0bf4c4b..fa4f162 100644 --- a/systems/PC-Fixe/configuration.nix +++ b/systems/PC-Fixe/configuration.nix @@ -25,6 +25,10 @@ boot.tmpOnTmpfs = true; boot.supportedFilesystems = [ "zfs" ]; + virtualisation.virtualbox.host.enable = true; + # virtualisation.virtualbox.host.enableExtensionPack = true; + virtualisation.anbox.enable = true; + services.zfs = { trim.enable = true; autoSnapshot = { @@ -61,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" From eb1161768f0d30ef413c24de4d033b373ebb99b7 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Tue, 6 Oct 2020 00:21:48 +0200 Subject: [PATCH 6/8] steam: utilisation nouvelle option + fix CK3 --- systems/common-gui.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/systems/common-gui.nix b/systems/common-gui.nix index ac3086a..8716089 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 @@ -80,10 +79,9 @@ console.keyMap = "fr"; + programs.steam.enable = true; + hardware = { - opengl.driSupport32Bit = true; - pulseaudio.support32Bit = true; - steam-hardware.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"; + }; } From 0167c84fd504241b9cc7da54a715abc5a968f09b Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Tue, 6 Oct 2020 00:22:19 +0200 Subject: [PATCH 7/8] wak on lan custom service --- systems/PC-Fixe/configuration.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/systems/PC-Fixe/configuration.nix b/systems/PC-Fixe/configuration.nix index fa4f162..656a575 100644 --- a/systems/PC-Fixe/configuration.nix +++ b/systems/PC-Fixe/configuration.nix @@ -90,7 +90,18 @@ services.openssh.passwordAuthentication = false; services.openssh.forwardX11 = true; - services.wakeonlan.interfaces = [ { interface = "eno1"; method = "magicpacket"; } ]; + 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"; } From 40b035492e45c19547bd130b5ad00a1f6b141bfa Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Tue, 6 Oct 2020 00:22:48 +0200 Subject: [PATCH 8/8] riot-desktop -> element-desktop --- systems/common-gui.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systems/common-gui.nix b/systems/common-gui.nix index 8716089..a9c5b3a 100644 --- a/systems/common-gui.nix +++ b/systems/common-gui.nix @@ -30,7 +30,7 @@ chromium tdesktop - riot-desktop + element-desktop mumble discord