From 95f521bf6e0d2489dc90bc56436ae5bd14d39851 Mon Sep 17 00:00:00 2001 From: Frantisek Bohacek Date: Sat, 25 May 2024 12:24:54 +0200 Subject: [PATCH] chore: some check fixes --- nixos/default.nix | 66 ++++++++++++------------ nixos/modules/profiles/desktop/qtile.nix | 2 +- 2 files changed, 34 insertions(+), 34 deletions(-) diff --git a/nixos/default.nix b/nixos/default.nix index 9ad1441..e94a7ef 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -14,21 +14,21 @@ { lib, inputs, ...}: { - laptop-iapetus = lib.nixosSystem { # Laptop profile - # Ideapad S540 - specialArgs = { - inherit inputs; - }; - modules = [ - inputs.nixos-hardware.nixosModules.common-cpu-intel - inputs.nixos-hardware.nixosModules.common-gpu-intel - inputs.nixos-hardware.nixosModules.common-pc-laptop - inputs.nixos-hardware.nixosModules.common-pc-laptop-acpi_call - inputs.nixos-hardware.nixosModules.common-pc-laptop-ssd - ./hosts/laptop-iapetus - ./hosts/configuration.nix - ]; - }; + # laptop-iapetus = lib.nixosSystem { # Laptop profile + # # Ideapad S540 + # specialArgs = { + # inherit inputs; + # }; + # modules = [ + # inputs.nixos-hardware.nixosModules.common-cpu-intel + # inputs.nixos-hardware.nixosModules.common-gpu-intel + # inputs.nixos-hardware.nixosModules.common-pc-laptop + # inputs.nixos-hardware.nixosModules.common-pc-laptop-acpi_call + # inputs.nixos-hardware.nixosModules.common-pc-laptop-ssd + # ./hosts/laptop-iapetus + # ./hosts/configuration.nix + # ]; + # }; laptop-phobos = lib.nixosSystem { # Laptop profile # Thinkpad T14s @@ -43,23 +43,23 @@ ]; }; - desktop-clotho = lib.nixosSystem { # Desktop profile - specialArgs = { - inherit inputs; - }; - modules = [ - ./hosts/desktop-clotho - ./hosts/configuration.nix - ]; - }; + # desktop-clotho = lib.nixosSystem { # Desktop profile + # specialArgs = { + # inherit inputs; + # }; + # modules = [ + # ./hosts/desktop-clotho + # ./hosts/configuration.nix + # ]; + # }; - vm = lib.nixosSystem { # VM profile - specialArgs = { - inherit inputs; - }; - modules = [ - ./hosts/vm - ./hosts/configuration.nix - ]; - }; + # vm = lib.nixosSystem { # VM profile + # specialArgs = { + # inherit inputs; + # }; + # modules = [ + # ./hosts/vm + # ./hosts/configuration.nix + # ]; + # }; } diff --git a/nixos/modules/profiles/desktop/qtile.nix b/nixos/modules/profiles/desktop/qtile.nix index 17c72cb..ab29e32 100644 --- a/nixos/modules/profiles/desktop/qtile.nix +++ b/nixos/modules/profiles/desktop/qtile.nix @@ -9,7 +9,7 @@ let ppkgs.pydbus ]; finalPackage = pkgs.qtile-unwrapped.overridePythonAttrs(oldAttrs: { - propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ pythonEnvPackages pkgs.python3Packages; + propagatedBuildInputs = (oldAttrs.propagatedBuildInputs or []) ++ pythonEnvPackages pkgs.python3Packages; passthru.providedSessions = [ "qtile" "qtile-wayland" ]; postInstall = (oldAttrs.postInstall or "") + '' mkdir -p $out/share/xsessions $out/share/wayland-sessions -- 2.48.1