From 4fa2cd2fb53f7e731fb6c962d97d592da7f32576 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Thu, 3 Apr 2025 11:38:33 +0200 Subject: [PATCH] Update riva config --- flake.lock | 24 ++++++++++++------------ home/Riva.nix | 16 ++++++++++++++-- hosts/Docker/flake.lock | 12 ++++++------ hosts/Riva/default.nix | 10 ++++++++++ 4 files changed, 42 insertions(+), 20 deletions(-) diff --git a/flake.lock b/flake.lock index e0b6a3e..4a486c7 100644 --- a/flake.lock +++ b/flake.lock @@ -129,11 +129,11 @@ ] }, "locked": { - "lastModified": 1742926508, - "narHash": "sha256-wgfY302ZaOsBCXb8aZDTG3Zt2kg3jDDaRrmtUw8nz00=", + "lastModified": 1743360001, + "narHash": "sha256-HtpS/ZdgWXw0y+aFdORcX5RuBGTyz3WskThspNR70SM=", "owner": "nix-community", "repo": "home-manager", - "rev": "8bef8b7a0a95d347018f09b291e2fa0a77abd23f", + "rev": "b6fd653ef8fbeccfd4958650757e91767a65506d", "type": "github" }, "original": { @@ -197,11 +197,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1742669843, - "narHash": "sha256-G5n+FOXLXcRx+3hCJ6Rt6ZQyF1zqQ0DL0sWAMn2Nk0w=", + "lastModified": 1743315132, + "narHash": "sha256-6hl6L/tRnwubHcA4pfUUtk542wn2Om+D4UnDhlDW9BE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "1e5b653dff12029333a6546c11e108ede13052eb", + "rev": "52faf482a3889b7619003c0daec593a1912fddc1", "type": "github" }, "original": { @@ -213,11 +213,11 @@ }, "nixpkgs_4": { "locked": { - "lastModified": 1742669843, - "narHash": "sha256-G5n+FOXLXcRx+3hCJ6Rt6ZQyF1zqQ0DL0sWAMn2Nk0w=", + "lastModified": 1743315132, + "narHash": "sha256-6hl6L/tRnwubHcA4pfUUtk542wn2Om+D4UnDhlDW9BE=", "owner": "nixos", "repo": "nixpkgs", - "rev": "1e5b653dff12029333a6546c11e108ede13052eb", + "rev": "52faf482a3889b7619003c0daec593a1912fddc1", "type": "github" }, "original": { @@ -250,11 +250,11 @@ "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1742931896, - "narHash": "sha256-0RBs7CXYFhMaIG06f2oKo0Vp6VWB2M3HqlPjWdtxDwA=", + "lastModified": 1743416833, + "narHash": "sha256-JBz6KWbF4MFgQVpwrq7FaUsPxDN/wQEbUAUHmm1Q494=", "owner": "nix-community", "repo": "NUR", - "rev": "6602c070a47cec20c1e2e0d30077f88a20b6e074", + "rev": "a3f52fa7fae676916064a4b32cf306f15a79b408", "type": "github" }, "original": { diff --git a/home/Riva.nix b/home/Riva.nix index acc357f..f425086 100644 --- a/home/Riva.nix +++ b/home/Riva.nix @@ -15,9 +15,8 @@ let in { imports = [ - (import ./utils/common.nix { inherit inputs config pkgs; }) - (import ./utils/python.nix { inherit inputs config pkgs; }) (import ./utils/fzgo_links.nix { inherit config pkgs fzgo_paths; }) + (import ./utils/desktop.nix { inherit inputs config pkgs; }) ./ssh ]; @@ -27,4 +26,17 @@ in distrobox jq ]; + services.hyprpaper = { + settings = { + wallpaper = [ + "Virtual-1,${./hyprland/files/wallpaper.png}" + ]; + }; + }; + wayland.windowManager.hyprland.settings = { + monitor = [ + "Virtual-1,2560x1440,0x0,1" + ]; + input.kb_options = "compose:rctrl, caps:super, altwin:swap_alt_win"; + }; } diff --git a/hosts/Docker/flake.lock b/hosts/Docker/flake.lock index 5111679..64de008 100644 --- a/hosts/Docker/flake.lock +++ b/hosts/Docker/flake.lock @@ -68,11 +68,11 @@ ] }, "locked": { - "lastModified": 1741345870, - "narHash": "sha256-KTpoO4oaucdFr3oJJBYpGK+aWVVrLvtiT17EQE7Cf4Y=", + "lastModified": 1743648554, + "narHash": "sha256-23JFd+zd2GamTTdnGuFVeIg8x8C3hLpQJRh/PGTORzo=", "owner": "nix-community", "repo": "home-manager", - "rev": "04c915bcf1a1eac3519372ff3185beef053fba7c", + "rev": "107352dde4ff3c01cb5a0b3fe17f5beef37215bc", "type": "github" }, "original": { @@ -99,11 +99,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1741246872, - "narHash": "sha256-Q6pMP4a9ed636qilcYX8XUguvKl/0/LGXhHcRI91p0U=", + "lastModified": 1743583204, + "narHash": "sha256-F7n4+KOIfWrwoQjXrL2wD9RhFYLs2/GGe/MQY1sSdlE=", "owner": "nixos", "repo": "nixpkgs", - "rev": "10069ef4cf863633f57238f179a0297de84bd8d3", + "rev": "2c8d3f48d33929642c1c12cd243df4cc7d2ce434", "type": "github" }, "original": { diff --git a/hosts/Riva/default.nix b/hosts/Riva/default.nix index 9303a1c..65ff01e 100644 --- a/hosts/Riva/default.nix +++ b/hosts/Riva/default.nix @@ -2,6 +2,7 @@ { imports = [ (import ../Common/default.nix { inherit inputs config pkgs; }) + (import ../Common/desktop.nix { inherit inputs pkgs config; }) ]; boot.kernelPackages = pkgs.linuxPackages_latest; @@ -9,6 +10,15 @@ enable = true; }; + services.sunshine = { + enable = true; + autoStart = false; + capSysAdmin = true; + openFirewall = true; + }; + + boot.kernelParams = ["mitigations=off"]; + zramSwap.enable = true; networking.wg-quick.interfaces = { wg0 = {