diff --git a/flake.lock b/flake.lock index 907b361..834beaf 100644 --- a/flake.lock +++ b/flake.lock @@ -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", diff --git a/flake.nix b/flake.nix index 0787cb6..40e2a1a 100644 --- a/flake.nix +++ b/flake.nix @@ -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; }) ]; diff --git a/user/home.nix b/user/home.nix index 0d68c17..3e4d046 100644 --- a/user/home.nix +++ b/user/home.nix @@ -82,6 +82,7 @@ in { font-awesome_5 fira-code nerdfonts_fira_hack + material-wifi-icons # Programming vscode rustup