formatted all files with nixfmt, added env variable to hold secrets
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{lib, config, pkgs, self, ... }:
|
||||
{ lib, config, pkgs, self, ... }:
|
||||
|
||||
let
|
||||
extraFigletFonts = pkgs.fetchFromGitHub {
|
||||
@@ -8,7 +8,7 @@ let
|
||||
sha256 = "sha256-dAs7N66D2Fpy4/UB5Za1r2qb1iSAJR6TMmau1asxgtY=";
|
||||
};
|
||||
toilet-extrafonts = pkgs.toilet.overrideAttrs (oldAttrs: {
|
||||
buildInputs = oldAttrs.buildInputs or [] ++ [extraFigletFonts];
|
||||
buildInputs = oldAttrs.buildInputs or [ ] ++ [ extraFigletFonts ];
|
||||
|
||||
installPhase = ''
|
||||
make install PREFIX=$out
|
||||
@@ -16,36 +16,35 @@ let
|
||||
cp -r ${extraFigletFonts}/* $out/share/figlet
|
||||
'';
|
||||
});
|
||||
in
|
||||
{
|
||||
in {
|
||||
options = {
|
||||
movOpts.envConfig.userPkgs.enable = lib.mkEnableOption "enables my default user packages";
|
||||
movOpts.envConfig.userPkgs.enable =
|
||||
lib.mkEnableOption "enables my default user packages";
|
||||
};
|
||||
config = lib.mkIf config.movOpts.envConfig.userPkgs.enable {
|
||||
home.packages = with pkgs;
|
||||
[
|
||||
nemo
|
||||
gtk3
|
||||
sqlite
|
||||
gimp
|
||||
imagemagick
|
||||
vlc
|
||||
lolcat
|
||||
vesktop
|
||||
qbittorrent
|
||||
neovide
|
||||
zsh
|
||||
zsh-syntax-highlighting
|
||||
zsh-history-substring-search
|
||||
zsh-autosuggestions
|
||||
audacity
|
||||
rustup
|
||||
libreoffice
|
||||
gtrash
|
||||
ripgrep
|
||||
toilet-extrafonts
|
||||
python3
|
||||
chafa
|
||||
];
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
nemo
|
||||
gtk3
|
||||
sqlite
|
||||
gimp
|
||||
imagemagick
|
||||
vlc
|
||||
lolcat
|
||||
vesktop
|
||||
qbittorrent
|
||||
neovide
|
||||
zsh
|
||||
zsh-syntax-highlighting
|
||||
zsh-history-substring-search
|
||||
zsh-autosuggestions
|
||||
audacity
|
||||
rustup
|
||||
libreoffice
|
||||
gtrash
|
||||
ripgrep
|
||||
toilet-extrafonts
|
||||
python3
|
||||
chafa
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user