mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 05:18:12 +09:00
stylix
This commit is contained in:
@@ -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, ...}:
|
||||||
|
|||||||
@@ -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
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
stylix.targets = {
|
||||||
|
ghostty.enable = false;
|
||||||
|
noctalia.enable = false;
|
||||||
|
qt = {
|
||||||
|
enable = true;
|
||||||
|
platform = "qtct";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user