diff --git a/flake.nix b/flake.nix index f335df4..496fd32 100644 --- a/flake.nix +++ b/flake.nix @@ -2,7 +2,7 @@ description = "NixOS System Flake"; inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable-small"; home-manager = { url = "github:nix-community/home-manager"; @@ -18,25 +18,27 @@ outputs = { self, home-manager, hyprland, nixpkgs, ... }@inputs: let system = "x86_64-linux"; in { - nixosConfigurations."nixos" = let - specialArgs = inputs; - modules = [ - ./nixos.nix + nixosConfigurations."nixos" = + let + specialArgs = inputs; + modules = [ + ./nixos.nix - hyprland.nixosModules.default - { programs.hyprland.enable = true; } + hyprland.nixosModules.default + { programs.hyprland.enable = true; } - home-manager.nixosModules.home-manager - { - home-manager.useGlobalPkgs = true; - home-manager.useUserPackages = true; + home-manager.nixosModules.home-manager + { + home-manager.useGlobalPkgs = true; + home-manager.useUserPackages = true; - home-manager.extraSpecialArgs = inputs; - home-manager.users.wizardlink = import ./home-manager.nix; - } - ]; - in nixpkgs.lib.nixosSystem { inherit system specialArgs modules; }; + home-manager.extraSpecialArgs = inputs; + home-manager.users.wizardlink = import ./home-manager.nix; + } + ]; + in + nixpkgs.lib.nixosSystem { inherit system specialArgs modules; }; - formatter."${system}" = nixpkgs.legacyPackages.${system}.nixfmt; + formatter."${system}" = nixpkgs.legacyPackages.${system}.nixpkgs-fmt; }; } diff --git a/theming/catppuccin-qt5ct.nix b/theming/catppuccin-qt5ct.nix index 51dcd1d..29932d2 100644 --- a/theming/catppuccin-qt5ct.nix +++ b/theming/catppuccin-qt5ct.nix @@ -2,9 +2,11 @@ let validFlavors = [ "Frappe" "Latte" "Macchiato" "Mocha" ]; pname = "catppucin-qt5ct"; -in lib.checkListOfEnum "${pname}: flavors" validFlavors [ flavor ] +in +lib.checkListOfEnum "${pname}: flavors" validFlavors [ flavor ] -stdenvNoCC.mkDerivation { + stdenvNoCC.mkDerivation +{ inherit pname; version = "unstable-2023-10-24"; diff --git a/theming/sddm.nix b/theming/sddm.nix index 1c052ed..ec16288 100644 --- a/theming/sddm.nix +++ b/theming/sddm.nix @@ -7,7 +7,8 @@ let url = imgLink; sha256 = "sha256-lrQv8VAks86zMzRaF9VEZotp78O9M7/dV8jZNTRb6SY="; }; -in pkgs.stdenv.mkDerivation { +in +pkgs.stdenv.mkDerivation { name = "sddm-theme"; src = pkgs.fetchFromGitHub { owner = "MarianArlt";