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"
}
},
"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": {
"locked": {
"lastModified": 1659219666,
@ -176,6 +192,7 @@
"alacritty-sixel": "alacritty-sixel",
"dhist": "dhist",
"home-manager": "home-manager",
"material-wifi-icons": "material-wifi-icons",
"nixpkgs": "nixpkgs_2",
"nixpkgs-unstable": "nixpkgs-unstable",
"nur": "nur",

View file

@ -13,11 +13,14 @@
ranger-sixel.url = "github:remi6397/ranger/feature/sixel";
ranger-sixel.flake = false;
material-wifi-icons.url = "github:dcousens/material-wifi-icons";
material-wifi-icons.flake = false;
# my stuff
dhist.url = "github:lelgenio/dhist";
};
outputs = { nixpkgs, nixpkgs-unstable, home-manager, alacritty-sixel
, ranger-sixel, nur, dhist, ... }:
, ranger-sixel, material-wifi-icons, nur, dhist, ... }:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
@ -59,6 +62,15 @@
propagatedBuildInputs = with old-pkgs.python3Packages;
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; })
];

View file

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