nix: rework flake input

This commit is contained in:
Primrose 2024-08-02 02:46:55 +02:00
parent 16cbf92ec3
commit f5755d11a3
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
11 changed files with 128 additions and 132 deletions

View file

@ -1,13 +1,13 @@
{ pkgs, ... }:
let
inherit (pkgs) myPkgs ghc-pin;
inherit (pkgs) myPkgs;
in
{
imports = [ ./fonts.nix ];
home.packages = [
ghc-pin.ghc
ghc-pin.haskell-language-server
pkgs.qmk
pkgs.wally-cli

View file

@ -137,7 +137,8 @@ in
addons.sponsorblock
addons.tridactyl
addons.languagetool
addons.bypass-paywalls-clean
# flaky, find a better source to be fetched
# addons.bypass-paywalls-clean
addons.news-feed-eradicator
];
};

View file

@ -1,7 +1,14 @@
{ pkgs, ... }:
let
inherit (pkgs) myPkgs wired;
inherit (pkgs) myPkgs;
wired = pkgs.fetchFromGitHub {
owner = "Toqozz";
repo = "wired-notify";
rev = "0.10.6";
hash = "sha256-AWIV/+vVwDZECZ4lFMSFyuyUKJc/gb72PiBJv6lbhnc=";
};
in
{

View file

@ -4,21 +4,18 @@
lib,
...
}:
let
inherit (pkgs) ghc-pin myPkgs;
inherit (pkgs) myPkgs;
in
{
home = {
username = "ychiang";
homeDirectory = "/udd/ychiang";
};
home.packages = [
ghc-pin.ghc
ghc-pin.cabal-install
ghc-pin.haskell-language-server
myPkgs.necrolib
];
home.packages = [ myPkgs.necrolib ];
home.file."hiosevka-font" = {
source = "${myPkgs.hiosevka-nerd-font-mono}/share/fonts/truetype";