diff --git a/flake.nix b/flake.nix index 9b565c7..649e996 100644 --- a/flake.nix +++ b/flake.nix @@ -7,6 +7,8 @@ home-manager.url = "github:nix-community/home-manager"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; + stylix.url = "github:danth/stylix"; + nix-vscode-extensions.url = "github:nix-community/nix-vscode-extensions"; }; @@ -14,6 +16,7 @@ inputs@{ nixpkgs, home-manager, + stylix, nix-vscode-extensions, ... }: @@ -35,6 +38,7 @@ specialArgs = { pkgs = (pkgs system); }; + modules = [ ./hosts/main-laptop/configuration.nix home-manager.nixosModules.home-manager @@ -44,6 +48,7 @@ home-manager.users.fedfer = import ./hosts/main-laptop/home.nix; home-manager.backupFileExtension = "backup"; } + stylix.nixosModules.stylix ]; }; diff --git a/hosts/main-laptop/home.nix b/hosts/main-laptop/home.nix index 8db7bff..e29e818 100644 --- a/hosts/main-laptop/home.nix +++ b/hosts/main-laptop/home.nix @@ -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.homeDirectory = "/home/fedfer";