stylix: enable!

This commit is contained in:
Veneficium 2024-09-25 20:33:35 +02:00
parent ac46c5b9eb
commit 5fbe5c4394
2 changed files with 33 additions and 0 deletions

View file

@ -7,6 +7,8 @@
home-manager.url = "github:nix-community/home-manager"; home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
stylix.url = "github:danth/stylix";
nix-vscode-extensions.url = "github:nix-community/nix-vscode-extensions"; nix-vscode-extensions.url = "github:nix-community/nix-vscode-extensions";
}; };
@ -14,6 +16,7 @@
inputs@{ inputs@{
nixpkgs, nixpkgs,
home-manager, home-manager,
stylix,
nix-vscode-extensions, nix-vscode-extensions,
... ...
}: }:
@ -35,6 +38,7 @@
specialArgs = { specialArgs = {
pkgs = (pkgs system); pkgs = (pkgs system);
}; };
modules = [ modules = [
./hosts/main-laptop/configuration.nix ./hosts/main-laptop/configuration.nix
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
@ -44,6 +48,7 @@
home-manager.users.fedfer = import ./hosts/main-laptop/home.nix; home-manager.users.fedfer = import ./hosts/main-laptop/home.nix;
home-manager.backupFileExtension = "backup"; home-manager.backupFileExtension = "backup";
} }
stylix.nixosModules.stylix
]; ];
}; };

View file

@ -31,6 +31,34 @@
]; ];
}; };
stylix.enable = true;
stylix = {
image = ../../res/wallpaper.png;
cursor = {
package = pkgs.catppuccin-cursors;
name = "macchiatoMauve";
};
fonts = {
packages = with pkgs; [
nerdfonts
cantarell-fonts
];
monospace.name = "FiraCode Nerd Font Mono";
sansSerif.name = "Cantarell";
serif.name = "Cantarell";
};
targets = {
console.enable = true;
gnome.enable = true;
gtk.enable = true;
nixos-icons.enable = true;
firefox.enable = true;
vesktop.enable = true;
wezterm.enable = true;
};
};
home.username = "fedfer"; home.username = "fedfer";
home.homeDirectory = "/home/fedfer"; home.homeDirectory = "/home/fedfer";