This commit is contained in:
2025-10-29 21:33:39 +09:00
parent f0c302ac49
commit 3182e42192
6 changed files with 33 additions and 1 deletions
+4
View File
@@ -22,6 +22,10 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
inputs.quickshell.follows = "quickshell"; inputs.quickshell.follows = "quickshell";
}; };
stylix = {
url = "github:nix-community/stylix";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = inputs@{ self, nixpkgs, nixpkgs-unstable, nixos-hardware, home-manager, ...}: outputs = inputs@{ self, nixpkgs, nixpkgs-unstable, nixos-hardware, home-manager, ...}:
+2 -1
View File
@@ -1,4 +1,4 @@
{ ... }: { inputs, ... }:
{ {
imports = [ imports = [
./boot.nix ./boot.nix
@@ -12,5 +12,6 @@
./system.nix ./system.nix
./user.nix ./user.nix
./xserver.nix ./xserver.nix
inputs.stylix.nixosModules.stylix
]; ];
} }
+13
View File
@@ -0,0 +1,13 @@
{ pkgs, ... }:
{
stylix = {
enable = true;
polarity = "dark";
opacity.terminal = 1.0;
cursor = {
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Ice";
size = 24;
};
};
}
+11
View File
@@ -0,0 +1,11 @@
{ ... }:
{
stylix.targets = {
ghostty.enable = false;
noctalia.enable = false;
qt = {
enable = true;
platform = "qtct";
};
};
}
+1
View File
@@ -7,5 +7,6 @@ mapfile -t files < <(find "$WALLPAPERS_DIR" -type f 2>/dev/null)
file="$(printf '%s\n' "${files[@]}" | shuf -n 1)" file="$(printf '%s\n' "${files[@]}" | shuf -n 1)"
echo file: "$file"
exec swww img "$file" --transition-type grow --transition-step 90 exec swww img "$file" --transition-type grow --transition-step 90
+2
View File
@@ -6,6 +6,7 @@
./../modules/core/hyprland.nix ./../modules/core/hyprland.nix
./../modules/core/greetd.nix ./../modules/core/greetd.nix
./../modules/core/noctalia.nix ./../modules/core/noctalia.nix
./../modules/core/stylix.nix
]; ];
home-manager.users.moons.imports = [ home-manager.users.moons.imports = [
@@ -17,5 +18,6 @@
./../modules/home/avatar.nix ./../modules/home/avatar.nix
./../modules/home/ghostty ./../modules/home/ghostty
./../modules/home/wallpaper ./../modules/home/wallpaper
./../modules/home/stylix.nix
]; ];
} }