From d6f7f05641d42b2ae90f9076008fdb28b5804302 Mon Sep 17 00:00:00 2001 From: "sascha.koenig" Date: Wed, 12 Nov 2025 11:40:28 +0100 Subject: [PATCH] +AZPILOGISTIK02-04 --- flake.lock | 70 +------------------------------- flake.nix | 24 +++++++++++ home/logistik/AZPILOGISTIK02.nix | 19 +++++++++ home/logistik/AZPILOGISTIK03.nix | 19 +++++++++ home/logistik/AZPILOGISTIK04.nix | 19 +++++++++ home/logistik/home.nix | 21 ++++++++++ 6 files changed, 103 insertions(+), 69 deletions(-) create mode 100644 home/logistik/AZPILOGISTIK02.nix create mode 100644 home/logistik/AZPILOGISTIK03.nix create mode 100644 home/logistik/AZPILOGISTIK04.nix diff --git a/flake.lock b/flake.lock index cf7e9f2..88c8e23 100644 --- a/flake.lock +++ b/flake.lock @@ -201,24 +201,6 @@ "type": "github" } }, - "flake-utils": { - "inputs": { - "systems": "systems_4" - }, - "locked": { - "lastModified": 1731533236, - "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, "home-manager": { "inputs": { "nixpkgs": [ @@ -360,25 +342,6 @@ "type": "github" } }, - "nixgl": { - "inputs": { - "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs_5" - }, - "locked": { - "lastModified": 1762090880, - "narHash": "sha256-fbRQzIGPkjZa83MowjbD2ALaJf9y6KMDdJBQMKFeY/8=", - "owner": "nix-community", - "repo": "nixGL", - "rev": "b6105297e6f0cd041670c3e8628394d4ee247ed5", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "nixGL", - "type": "github" - } - }, "nixos-anywhere": { "inputs": { "disko": "disko_2", @@ -542,21 +505,6 @@ } }, "nixpkgs_5": { - "locked": { - "lastModified": 1746378225, - "narHash": "sha256-OeRSuL8PUjIfL3Q0fTbNJD/fmv1R+K2JAOqWJd3Oceg=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "93e8cdce7afc64297cfec447c311470788131cd9", - "type": "github" - }, - "original": { - "owner": "nixos", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_6": { "locked": { "lastModified": 1761468971, "narHash": "sha256-vY2OLVg5ZTobdroQKQQSipSIkHlxOTrIF1fsMzPh8w8=", @@ -603,9 +551,8 @@ "m3ta-nixpkgs": "m3ta-nixpkgs", "nix-ai-tools": "nix-ai-tools", "nix-colors": "nix-colors", - "nixgl": "nixgl", "nixos-anywhere": "nixos-anywhere", - "nixpkgs": "nixpkgs_6", + "nixpkgs": "nixpkgs_5", "nixpkgs-unstable": "nixpkgs-unstable", "nur": "nur" } @@ -655,21 +602,6 @@ "type": "github" } }, - "systems_4": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - }, "treefmt-nix": { "inputs": { "nixpkgs": [ diff --git a/flake.nix b/flake.nix index 289c40b..ed08b5a 100644 --- a/flake.nix +++ b/flake.nix @@ -134,6 +134,30 @@ }; modules = [./home/logistik/AZPILOGISTIK01.nix]; }; + "logistik@AZPILOGISTIK02" = home-manager.lib.homeManagerConfiguration { + pkgs = nixpkgs.legacyPackages."aarch64-linux"; + extraSpecialArgs = { + inherit inputs outputs; + hostname = "AZPILOGISTIK02"; + }; + modules = [./home/logistik/AZPILOGISTIK02.nix]; + }; + "logistik@AZPILOGISTIK03" = home-manager.lib.homeManagerConfiguration { + pkgs = nixpkgs.legacyPackages."aarch64-linux"; + extraSpecialArgs = { + inherit inputs outputs; + hostname = "AZPILOGISTIK03"; + }; + modules = [./home/logistik/AZPILOGISTIK03.nix]; + }; + "logistik@AZPILOGISTIK04" = home-manager.lib.homeManagerConfiguration { + pkgs = nixpkgs.legacyPackages."aarch64-linux"; + extraSpecialArgs = { + inherit inputs outputs; + hostname = "AZPILOGISTIK04"; + }; + modules = [./home/logistik/AZPILOGISTIK04.nix]; + }; }; deploy.nodes = { AZ-CLD-1 = { diff --git a/home/logistik/AZPILOGISTIK02.nix b/home/logistik/AZPILOGISTIK02.nix new file mode 100644 index 0000000..39336d5 --- /dev/null +++ b/home/logistik/AZPILOGISTIK02.nix @@ -0,0 +1,19 @@ +{ + config, + lib, + inputs, + ... +}: { + imports = [ + ../common + ./home.nix + ]; + wayland.windowManager.hyprland.settings = { + env = [ + "WEBAPP_URL,http://192.168.152.98:4711/login/bde-logistik" + "HYPRCURSOR_THEME,rose-pine-hyprcursor" + "HYPRCURSOR_SIZE,32" + "WLR_NO_HARDWARE_CURSORS,1" + ]; + }; +} diff --git a/home/logistik/AZPILOGISTIK03.nix b/home/logistik/AZPILOGISTIK03.nix new file mode 100644 index 0000000..39336d5 --- /dev/null +++ b/home/logistik/AZPILOGISTIK03.nix @@ -0,0 +1,19 @@ +{ + config, + lib, + inputs, + ... +}: { + imports = [ + ../common + ./home.nix + ]; + wayland.windowManager.hyprland.settings = { + env = [ + "WEBAPP_URL,http://192.168.152.98:4711/login/bde-logistik" + "HYPRCURSOR_THEME,rose-pine-hyprcursor" + "HYPRCURSOR_SIZE,32" + "WLR_NO_HARDWARE_CURSORS,1" + ]; + }; +} diff --git a/home/logistik/AZPILOGISTIK04.nix b/home/logistik/AZPILOGISTIK04.nix new file mode 100644 index 0000000..39336d5 --- /dev/null +++ b/home/logistik/AZPILOGISTIK04.nix @@ -0,0 +1,19 @@ +{ + config, + lib, + inputs, + ... +}: { + imports = [ + ../common + ./home.nix + ]; + wayland.windowManager.hyprland.settings = { + env = [ + "WEBAPP_URL,http://192.168.152.98:4711/login/bde-logistik" + "HYPRCURSOR_THEME,rose-pine-hyprcursor" + "HYPRCURSOR_SIZE,32" + "WLR_NO_HARDWARE_CURSORS,1" + ]; + }; +} diff --git a/home/logistik/home.nix b/home/logistik/home.nix index d4c437c..f14d12e 100644 --- a/home/logistik/home.nix +++ b/home/logistik/home.nix @@ -27,6 +27,7 @@ home.packages = with pkgs; [ rose-pine-hyprcursor nitch + google-chrome # # Adds the 'hello' command to your environment. It prints a friendly # # "Hello, world!" when run. # pkgs.hello @@ -76,6 +77,26 @@ ]; }; + nixpkgs = { + overlays = [ + (final: prev: { + google-chrome = prev.google-chrome.override { + commandLineArgs = [ + "--password-store=basic" + "--kiosk" + "--ozone-platform=x11" + "--disable-restore-session-state" + "--disable-session-crashed-bubble" + "--disable-infobars" + "--no-first-run" + "--disable-logging" + "--incognito" + ]; + }; + }) + ]; + }; + wayland.windowManager.hyprland = { enable = true; settings = {