rose-pine-hyprcursor, fnott修正
This commit is contained in:
parent
a3fd436314
commit
2bb37281ac
|
|
@ -1,6 +1,11 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
programs.fish.enable = true;
|
programs.fish = {
|
||||||
|
enable = true;
|
||||||
|
interactiveShellInit = ''
|
||||||
|
set -g fish_greeting ""
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
xdg.configFile."fish/functions/fish_prompt.fish".source = ./functions/fish_prompt.fish;
|
xdg.configFile."fish/functions/fish_prompt.fish".source = ./functions/fish_prompt.fish;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -53,21 +53,21 @@
|
||||||
max-icon-size = 64; # デフォルト32 -> 強調
|
max-icon-size = 64; # デフォルト32 -> 強調
|
||||||
icon = "dialog-information"; # フォールバック(任意)
|
icon = "dialog-information"; # フォールバック(任意)
|
||||||
|
|
||||||
dpi-aware = "auto";
|
dpi-aware = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
low = {
|
low = {
|
||||||
timeout = 4;
|
default-timeout = 4;
|
||||||
border-color = "232327ff";
|
border-color = "232327ff";
|
||||||
};
|
};
|
||||||
|
|
||||||
normal = {
|
normal = {
|
||||||
timeout = 7;
|
default-timeout = 7;
|
||||||
border-color = "2a2a2fff";
|
border-color = "2a2a2fff";
|
||||||
};
|
};
|
||||||
|
|
||||||
critical = {
|
critical = {
|
||||||
timeout = 0;
|
default-timeout = 0;
|
||||||
border-color = "6a6a6fff";
|
border-color = "6a6a6fff";
|
||||||
border-size = 2;
|
border-size = 2;
|
||||||
background = "101012f2";
|
background = "101012f2";
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
inherit (lib) mkOption recursiveUpdate types;
|
inherit (lib) mkOption recursiveUpdate types;
|
||||||
|
rosePineHyprcursor = pkgs.callPackage ./rose-pine-hyprcursor.nix { };
|
||||||
|
|
||||||
defaultInput = {
|
defaultInput = {
|
||||||
kb_layout = "us";
|
kb_layout = "us";
|
||||||
|
|
@ -220,10 +221,14 @@ in
|
||||||
plugins = [
|
plugins = [
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
home.packages = with pkgs; [
|
home.packages =
|
||||||
|
[
|
||||||
|
rosePineHyprcursor
|
||||||
|
]
|
||||||
|
++ (with pkgs; [
|
||||||
swww
|
swww
|
||||||
eww
|
eww
|
||||||
];
|
]);
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
HYPRCURSOR_THEME = "rose-pine-hyprcursor";
|
HYPRCURSOR_THEME = "rose-pine-hyprcursor";
|
||||||
HYPRCURSOR_SIZE = "24";
|
HYPRCURSOR_SIZE = "24";
|
||||||
|
|
|
||||||
33
home-manager/hyprland/rose-pine-hyprcursor.nix
Normal file
33
home-manager/hyprland/rose-pine-hyprcursor.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
{
|
||||||
|
stdenvNoCC,
|
||||||
|
lib,
|
||||||
|
fetchzip,
|
||||||
|
}:
|
||||||
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
|
pname = "rose-pine-hyprcursor";
|
||||||
|
version = "0.3.2";
|
||||||
|
|
||||||
|
src = fetchzip {
|
||||||
|
url = "https://github.com/ndom91/rose-pine-hyprcursor/archive/refs/tags/v${finalAttrs.version}.tar.gz";
|
||||||
|
hash = "sha256-ArUX5qlqAXUqcRqHz4QxXy3KgkfasTPA/Qwf6D2kV0U=";
|
||||||
|
};
|
||||||
|
|
||||||
|
dontBuild = true;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
target=$out/share/icons/${finalAttrs.pname}
|
||||||
|
mkdir -p "$target"
|
||||||
|
cp -r hyprcursors hyprcursors_uncompressed manifest.hl "$target"
|
||||||
|
# include docs for reference
|
||||||
|
cp README.md LICENSE "$target"/
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Rose Pine themed Hyprcursor set";
|
||||||
|
homepage = "https://github.com/ndom91/rose-pine-hyprcursor";
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
})
|
||||||
|
|
@ -10,10 +10,7 @@ let
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
nixos = inputs.nixpkgs.lib.nixosSystem {
|
nixos = inputs.nixpkgs.lib.nixosSystem {
|
||||||
modules =
|
modules = systemModules ++ [
|
||||||
with inputs;
|
|
||||||
systemModules
|
|
||||||
++ [
|
|
||||||
{
|
{
|
||||||
users.users.${username} = {
|
users.users.${username} = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
|
@ -88,14 +85,6 @@ rec {
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
nixos = {
|
nixos = builtins.mapAttrs (_: host: host.nixos) hosts;
|
||||||
arcadia = hosts.arcadia.nixos;
|
home-manager = builtins.mapAttrs (_: host: host.home-manager) hosts;
|
||||||
fungus = hosts.fungus.nixos;
|
|
||||||
x1carbon = hosts.x1carbon.nixos;
|
|
||||||
};
|
|
||||||
home-manager = {
|
|
||||||
arcadia = hosts.arcadia.home-manager;
|
|
||||||
fungus = hosts.fungus.home-manager;
|
|
||||||
x1carbon = hosts.x1carbon.home-manager;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -25,8 +25,6 @@ in
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
openssl
|
openssl
|
||||||
|
|
||||||
bluez
|
|
||||||
bluez-tools
|
|
||||||
bluetuith
|
bluetuith
|
||||||
|
|
||||||
brightnessctl
|
brightnessctl
|
||||||
|
|
@ -61,7 +59,9 @@ in
|
||||||
networking.firewall.allowedUDPPorts = [ ];
|
networking.firewall.allowedUDPPorts = [ ];
|
||||||
|
|
||||||
services.openvpn.servers = {
|
services.openvpn.servers = {
|
||||||
homeVPN = { config = '' config /root/nixos/openvpn/homeVPN.conf ''; };
|
homeVPN = {
|
||||||
|
config = ''config /root/nixos/openvpn/homeVPN.conf '';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.udev.extraRules = ''
|
services.udev.extraRules = ''
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
{ pkgs, lib, ... }:
|
||||||
{
|
{
|
||||||
programs.uwsm = {
|
programs.uwsm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -5,6 +6,7 @@
|
||||||
hyprland = {
|
hyprland = {
|
||||||
prettyName = "Hyprland";
|
prettyName = "Hyprland";
|
||||||
comment = "Hyprland compositor managed by UWSM";
|
comment = "Hyprland compositor managed by UWSM";
|
||||||
|
binPath = lib.mkDefault "${pkgs.hyprland}/bin/Hyprland";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user