feat(home-manager): add theming using stylix

This commit is contained in:
Mohammad Rafiq 2025-03-07 18:10:08 +08:00
parent 098b1dbcad
commit 655bdebfc5
9 changed files with 470 additions and 770 deletions

View file

@ -10,16 +10,14 @@
args = {inherit self inputs;};
mkSystem = hostname:
nixpkgs.lib.nixosSystem {
specialArgs = args;
modules = [
./systems/${hostname}.nix
specialArgs = args; modules = [ ./systems/${hostname}.nix
# Add the home-manager user
home-manager.nixosModules.home-manager
{
home-manager = {
# Don't instantiate the home-manager instance of nixpkgs
useGlobalPkgs = true;
#useGlobalPkgs = true;
# Install user packages to /etc/profiles
useUserPackages = true;
# Pass inputs to configurations
@ -54,5 +52,7 @@
nixvim.url = "github:nix-community/nixvim";
nixvim.inputs.nixpkgs.follows = "nixpkgs";
stylix.url = "github:danth/stylix";
};
}