Use stylix and refactor related things

This commit is contained in:
Pedro Rey Anca 2025-06-09 18:49:44 +02:00
parent f173a43c72
commit 96dc27ff50
Signed by: peprolinbot
GPG key ID: 053EA6E00116533A
19 changed files with 600 additions and 397 deletions

View file

@ -3,7 +3,6 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
nur.url = "github:nix-community/NUR";
firefox-addons = {
@ -23,23 +22,14 @@
inputs.nixpkgs.follows = "nixpkgs";
};
catppuccin-bat = {
url = "github:catppuccin/bat";
flake = false;
};
catppuccin-cava = {
url = "github:catppuccin/cava";
flake = false;
};
catppuccin-starship = {
url = "github:catppuccin/starship";
flake = false;
stylix = {
url = "github:nix-community/stylix/release-25.05";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {
nixpkgs,
nixpkgs-unstable,
self,
...
} @ inputs: let
@ -49,10 +39,6 @@
inherit system;
config.allowUnfree = true;
};
pkgs-unstable = import nixpkgs-unstable {
inherit system;
config.allowUnfree = true;
};
lib = nixpkgs.lib;
in {
nixosConfigurations = {
@ -61,7 +47,7 @@
modules = [(import ./hosts/frues-pc)];
specialArgs = {
host = "frues-pc";
inherit self inputs username pkgs-unstable;
inherit self inputs username;
};
};
frues-port = nixpkgs.lib.nixosSystem {
@ -69,7 +55,7 @@
modules = [(import ./hosts/frues-port)];
specialArgs = {
host = "frues-port";
inherit self inputs username pkgs-unstable;
inherit self inputs username;
};
};
frues-vm = nixpkgs.lib.nixosSystem {
@ -77,7 +63,7 @@
modules = [(import ./hosts/frues-vm)];
specialArgs = {
host = "frues-vm";
inherit self inputs username pkgs-unstable;
inherit self inputs username;
};
};
fruesos-live = nixpkgs.lib.nixosSystem {
@ -88,7 +74,7 @@
];
specialArgs = {
host = "fruesos-live";
inherit self inputs username pkgs-unstable;
inherit self inputs username;
};
};
};