feat: add custom icons repo
This commit is contained in:
parent
eac4a802ce
commit
cc57accbfc
3 changed files with 41 additions and 0 deletions
21
flake.lock
generated
21
flake.lock
generated
|
|
@ -60,6 +60,26 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"icons": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1759105481,
|
||||||
|
"narHash": "sha256-TSGi0rHYKK/MfcKg+THX4/qOptJlCgmi0QLjBcFQLSU=",
|
||||||
|
"ref": "refs/heads/main",
|
||||||
|
"rev": "7ec8418afc29ef317d0ba11278206e3a4d16a1ca",
|
||||||
|
"revCount": 1,
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.sr.ht/~sposito/icons"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.sr.ht/~sposito/icons"
|
||||||
|
}
|
||||||
|
},
|
||||||
"ixx": {
|
"ixx": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": [
|
"flake-utils": [
|
||||||
|
|
@ -153,6 +173,7 @@
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
|
"icons": "icons",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"nixvim": "nixvim"
|
"nixvim": "nixvim"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,10 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
url = "github:nix-community/home-manager/master";
|
url = "github:nix-community/home-manager/master";
|
||||||
};
|
};
|
||||||
|
icons = {
|
||||||
|
url = "git+https://git.sr.ht/~sposito/icons";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
nixvim = {
|
nixvim = {
|
||||||
url = "github:nix-community/nixvim";
|
url = "github:nix-community/nixvim";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
@ -51,6 +55,7 @@
|
||||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
inherit inputs outputs;
|
inherit inputs outputs;
|
||||||
|
icons = inputs.icons;
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
./home-manager/home.nix
|
./home-manager/home.nix
|
||||||
|
|
|
||||||
15
home-manager/icons.nix
Normal file
15
home-manager/icons.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
{ icons, pkgs, ... }:
|
||||||
|
{
|
||||||
|
home.packages = [ icons.packages.${pkgs.system}.default ];
|
||||||
|
|
||||||
|
xdg.desktopEntries.kitty = {
|
||||||
|
name = "Kitty";
|
||||||
|
exec = "kitty";
|
||||||
|
icon = "kitty";
|
||||||
|
terminal = false;
|
||||||
|
categories = [
|
||||||
|
"System"
|
||||||
|
"TerminalEmulator"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue