chore: formatting
chore: formatting 2
This commit is contained in:
parent
0085967b84
commit
66a3e23840
36
flake.nix
36
flake.nix
|
@ -2,7 +2,7 @@
|
||||||
description = "NixOS System Flake";
|
description = "NixOS System Flake";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable-small";
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager";
|
url = "github:nix-community/home-manager";
|
||||||
|
@ -18,25 +18,27 @@
|
||||||
outputs = { self, home-manager, hyprland, nixpkgs, ... }@inputs:
|
outputs = { self, home-manager, hyprland, nixpkgs, ... }@inputs:
|
||||||
let system = "x86_64-linux";
|
let system = "x86_64-linux";
|
||||||
in {
|
in {
|
||||||
nixosConfigurations."nixos" = let
|
nixosConfigurations."nixos" =
|
||||||
specialArgs = inputs;
|
let
|
||||||
modules = [
|
specialArgs = inputs;
|
||||||
./nixos.nix
|
modules = [
|
||||||
|
./nixos.nix
|
||||||
|
|
||||||
hyprland.nixosModules.default
|
hyprland.nixosModules.default
|
||||||
{ programs.hyprland.enable = true; }
|
{ programs.hyprland.enable = true; }
|
||||||
|
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
|
|
||||||
home-manager.extraSpecialArgs = inputs;
|
home-manager.extraSpecialArgs = inputs;
|
||||||
home-manager.users.wizardlink = import ./home-manager.nix;
|
home-manager.users.wizardlink = import ./home-manager.nix;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
in nixpkgs.lib.nixosSystem { inherit system specialArgs modules; };
|
in
|
||||||
|
nixpkgs.lib.nixosSystem { inherit system specialArgs modules; };
|
||||||
|
|
||||||
formatter."${system}" = nixpkgs.legacyPackages.${system}.nixfmt;
|
formatter."${system}" = nixpkgs.legacyPackages.${system}.nixpkgs-fmt;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,9 +2,11 @@
|
||||||
let
|
let
|
||||||
validFlavors = [ "Frappe" "Latte" "Macchiato" "Mocha" ];
|
validFlavors = [ "Frappe" "Latte" "Macchiato" "Mocha" ];
|
||||||
pname = "catppucin-qt5ct";
|
pname = "catppucin-qt5ct";
|
||||||
in lib.checkListOfEnum "${pname}: flavors" validFlavors [ flavor ]
|
in
|
||||||
|
lib.checkListOfEnum "${pname}: flavors" validFlavors [ flavor ]
|
||||||
|
|
||||||
stdenvNoCC.mkDerivation {
|
stdenvNoCC.mkDerivation
|
||||||
|
{
|
||||||
inherit pname;
|
inherit pname;
|
||||||
version = "unstable-2023-10-24";
|
version = "unstable-2023-10-24";
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,8 @@ let
|
||||||
url = imgLink;
|
url = imgLink;
|
||||||
sha256 = "sha256-lrQv8VAks86zMzRaF9VEZotp78O9M7/dV8jZNTRb6SY=";
|
sha256 = "sha256-lrQv8VAks86zMzRaF9VEZotp78O9M7/dV8jZNTRb6SY=";
|
||||||
};
|
};
|
||||||
in pkgs.stdenv.mkDerivation {
|
in
|
||||||
|
pkgs.stdenv.mkDerivation {
|
||||||
name = "sddm-theme";
|
name = "sddm-theme";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "MarianArlt";
|
owner = "MarianArlt";
|
||||||
|
|
Loading…
Reference in a new issue