added self-packages xcursor McMojave cursors

This commit is contained in:
Nickiel12 2024-12-09 20:16:02 -08:00
parent 101c8efbb5
commit 320ae2fc89
4 changed files with 71 additions and 19 deletions

View file

@ -188,7 +188,7 @@
}, },
"flake-utils_2": { "flake-utils_2": {
"inputs": { "inputs": {
"systems": "systems_4" "systems": "systems_5"
}, },
"locked": { "locked": {
"lastModified": 1681202837, "lastModified": 1681202837,
@ -206,7 +206,7 @@
}, },
"flake-utils_3": { "flake-utils_3": {
"inputs": { "inputs": {
"systems": "systems_5" "systems": "systems_6"
}, },
"locked": { "locked": {
"lastModified": 1726560853, "lastModified": 1726560853,
@ -224,7 +224,7 @@
}, },
"flake-utils_4": { "flake-utils_4": {
"inputs": { "inputs": {
"systems": "systems_6" "systems": "systems_7"
}, },
"locked": { "locked": {
"lastModified": 1731533236, "lastModified": 1731533236,
@ -242,7 +242,7 @@
}, },
"flake-utils_5": { "flake-utils_5": {
"inputs": { "inputs": {
"systems": "systems_8" "systems": "systems_9"
}, },
"locked": { "locked": {
"lastModified": 1726560853, "lastModified": 1726560853,
@ -260,7 +260,7 @@
}, },
"flake-utils_6": { "flake-utils_6": {
"inputs": { "inputs": {
"systems": "systems_9" "systems": "systems_10"
}, },
"locked": { "locked": {
"lastModified": 1705309234, "lastModified": 1705309234,
@ -564,6 +564,27 @@
"type": "github" "type": "github"
} }
}, },
"mcmojave-xcursor": {
"inputs": {
"nixpkgs": [
"nixpkgs"
],
"systems": "systems_4"
},
"locked": {
"lastModified": 1733803873,
"narHash": "sha256-T7w0GYIqxoYA//dHxBbsmlruaqU6ZY1mvuNj8i/LBMs=",
"ref": "refs/heads/master",
"rev": "3730719c2e5554b900b6dd637e92a73e8ea64995",
"revCount": 12,
"type": "git",
"url": "https://git.nickiel.net/Nickiel/McMojave-cursors.git"
},
"original": {
"type": "git",
"url": "https://git.nickiel.net/Nickiel/McMojave-cursors.git"
}
},
"nicks_nextcloud_integrations": { "nicks_nextcloud_integrations": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_4", "nixpkgs": "nixpkgs_4",
@ -826,6 +847,7 @@
"home-manager": "home-manager", "home-manager": "home-manager",
"kmonad": "kmonad", "kmonad": "kmonad",
"mcmojave-hyprcursor": "mcmojave-hyprcursor", "mcmojave-hyprcursor": "mcmojave-hyprcursor",
"mcmojave-xcursor": "mcmojave-xcursor",
"nicks_nextcloud_integrations": "nicks_nextcloud_integrations", "nicks_nextcloud_integrations": "nicks_nextcloud_integrations",
"nixos-wsl": "nixos-wsl", "nixos-wsl": "nixos-wsl",
"nixpkgs": "nixpkgs_7", "nixpkgs": "nixpkgs_7",
@ -904,6 +926,21 @@
"type": "github" "type": "github"
} }
}, },
"systems_10": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"systems_2": { "systems_2": {
"locked": { "locked": {
"lastModified": 1689347949, "lastModified": 1689347949,
@ -936,16 +973,16 @@
}, },
"systems_4": { "systems_4": {
"locked": { "locked": {
"lastModified": 1681028828, "lastModified": 1689347949,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems", "owner": "nix-systems",
"repo": "default", "repo": "default-linux",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-systems", "owner": "nix-systems",
"repo": "default", "repo": "default-linux",
"type": "github" "type": "github"
} }
}, },
@ -1047,7 +1084,7 @@
}, },
"utils": { "utils": {
"inputs": { "inputs": {
"systems": "systems_7" "systems": "systems_8"
}, },
"locked": { "locked": {
"lastModified": 1731533236, "lastModified": 1731533236,

View file

@ -20,6 +20,11 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
mcmojave-xcursor = {
url = "git+https://git.nickiel.net/Nickiel/McMojave-cursors.git";
inputs.nixpkgs.follows = "nixpkgs";
};
nixpkgs-stable = { nixpkgs-stable = {
url = "github:NixOS/nixpkgs/release-23.11"; url = "github:NixOS/nixpkgs/release-23.11";
}; };
@ -197,7 +202,7 @@
useGlobalPkgs = true; useGlobalPkgs = true;
useUserPackages = true; useUserPackages = true;
extraSpecialArgs = { extraSpecialArgs = {
inherit user ewwtilities atuin pkgs-stable zls; inherit inputs user ewwtilities atuin pkgs-stable zls;
}; };
users.${user} = { users.${user} = {
imports = [ imports = [

View file

@ -50,6 +50,7 @@ let
pkgs-stable.nodejs # required for coc-nvim pkgs-stable.nodejs # required for coc-nvim
] ++ pkgs.lib.optionals (! builtins.elem osConfig.networking.hostName commandline_only_hosts ) [ ] ++ pkgs.lib.optionals (! builtins.elem osConfig.networking.hostName commandline_only_hosts ) [
# Gui application # Gui application
pkgs-stable.darktable # RAW processing pkgs-stable.darktable # RAW processing
dbeaver-bin # SQL management tool dbeaver-bin # SQL management tool
@ -138,7 +139,10 @@ in
# changes in each release. # changes in each release.
stateVersion = "22.11"; stateVersion = "22.11";
packages = install_packages; packages = install_packages ++ [
inputs.mcmojave-hyprcursor.packages.${pkgs.stdenv.hostPlatform.system}.default
inputs.mcmojave-xcursor.packages.${pkgs.stdenv.hostPlatform.system}.default
];
sessionVariables = { sessionVariables = {
NIX_SHELL_PRESERVE_PROMPT = 1; NIX_SHELL_PRESERVE_PROMPT = 1;
EDITOR = "nvim"; EDITOR = "nvim";

View file

@ -15,11 +15,17 @@
WLR_NO_HARDWARE_CURSORS = "1"; WLR_NO_HARDWARE_CURSORS = "1";
}; };
environment.variables.HYPRCURSOR_THEME = "McMojave"; # Also run
environment.variables.HYPRCURSOR_SIZE = "32"; # dconf write /org/gnome/desktop/interface/cursor-theme "'THEME_NAME'"
environment.systemPackages = [ environment.variables = {
inputs.mcmojave-hyprcursor.packages.${pkgs.stdenv.hostPlatform.system}.default HYPRCURSOR_THEME = "McMojave";
]; HYPRCURSOR_SIZE = "32";
XCURSOR_THEME = "McMojave-cursors";
XCURSOR_SIZE = "32";
};
#environment.systemPackages = [
#inputs.mcmojave-hyprcursor.packages.${pkgs.stdenv.hostPlatform.system}.default
#];
programs.hyprland.enable = true; programs.hyprland.enable = true;