feat: add stylix flake input and enable stylix modules
This commit is contained in:
15
flake.nix
15
flake.nix
@@ -10,7 +10,13 @@
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
|
||||
nix-colors.url = "github:misterio77/nix-colors";
|
||||
stylix = {
|
||||
#url = "github:nix-community/stylix";
|
||||
url = "github:nix-community/stylix/release-25.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
sops-nix = {
|
||||
url = "github:Mic92/sops-nix";
|
||||
@@ -35,6 +41,7 @@
|
||||
unstable,
|
||||
home-manager,
|
||||
nix-colors,
|
||||
stylix,
|
||||
sops-nix,
|
||||
lanzaboote,
|
||||
nixos-hardware,
|
||||
@@ -58,11 +65,13 @@
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.gunalx = import ./home/gunalx.nix;
|
||||
home-manager.backupFileExtension = "bac";
|
||||
home-manager.extraSpecialArgs = { inherit nix-colors inputs; };
|
||||
home-manager.sharedModules = [ inputs.sops-nix.homeManagerModules.sops ];
|
||||
home-manager.extraSpecialArgs = { inherit nix-colors stylix inputs; };
|
||||
home-manager.sharedModules = [ inputs.sops-nix.homeManagerModules.sops inputs.stylix.homeModules.stylix ];
|
||||
}
|
||||
|
||||
./modules/unstable.nix
|
||||
./modules/unstable.nix
|
||||
|
||||
stylix.nixosModules.stylix
|
||||
|
||||
sops-nix.nixosModules.sops
|
||||
|
||||
|
||||
Reference in New Issue
Block a user