add material wifi icons

This commit is contained in:
Leonardo Eugênio 2022-08-11 11:53:39 -03:00
parent 0588b09cb5
commit c217d57282
3 changed files with 31 additions and 1 deletions

View file

@ -94,6 +94,22 @@
"type": "github" "type": "github"
} }
}, },
"material-wifi-icons": {
"flake": false,
"locked": {
"lastModified": 1537083724,
"narHash": "sha256-neh+keoYyKum2K1lutE4HKVscA+TeWccikB85osbX/8=",
"owner": "dcousens",
"repo": "material-wifi-icons",
"rev": "d56927c95ca17aa3e0dda15b23840ba3ad3f44cb",
"type": "github"
},
"original": {
"owner": "dcousens",
"repo": "material-wifi-icons",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1659219666, "lastModified": 1659219666,
@ -176,6 +192,7 @@
"alacritty-sixel": "alacritty-sixel", "alacritty-sixel": "alacritty-sixel",
"dhist": "dhist", "dhist": "dhist",
"home-manager": "home-manager", "home-manager": "home-manager",
"material-wifi-icons": "material-wifi-icons",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_2",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
"nur": "nur", "nur": "nur",

View file

@ -13,11 +13,14 @@
ranger-sixel.url = "github:remi6397/ranger/feature/sixel"; ranger-sixel.url = "github:remi6397/ranger/feature/sixel";
ranger-sixel.flake = false; ranger-sixel.flake = false;
material-wifi-icons.url = "github:dcousens/material-wifi-icons";
material-wifi-icons.flake = false;
# my stuff # my stuff
dhist.url = "github:lelgenio/dhist"; dhist.url = "github:lelgenio/dhist";
}; };
outputs = { nixpkgs, nixpkgs-unstable, home-manager, alacritty-sixel outputs = { nixpkgs, nixpkgs-unstable, home-manager, alacritty-sixel
, ranger-sixel, nur, dhist, ... }: , ranger-sixel, material-wifi-icons, nur, dhist, ... }:
let let
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = import nixpkgs { pkgs = import nixpkgs {
@ -59,6 +62,15 @@
propagatedBuildInputs = with old-pkgs.python3Packages; propagatedBuildInputs = with old-pkgs.python3Packages;
old-ranger.propagatedBuildInputs ++ [ astroid pylint pytest ]; old-ranger.propagatedBuildInputs ++ [ astroid pylint pytest ];
})); }));
material-wifi-icons = pkgs.stdenv.mkDerivation rec {
name = "material-wifi-icons";
src = material-wifi-icons;
installPhase = let dest = "$out/share/fonts/${name}";
in ''
mkdir -p ${dest}
cp material-wifi.ttf ${dest}
'';
};
}) })
(import ./scripts { inherit config pkgs lib; }) (import ./scripts { inherit config pkgs lib; })
]; ];

View file

@ -82,6 +82,7 @@ in {
font-awesome_5 font-awesome_5
fira-code fira-code
nerdfonts_fira_hack nerdfonts_fira_hack
material-wifi-icons
# Programming # Programming
vscode vscode
rustup rustup