add anki
This commit is contained in:
20
users/blake/dots/programs/anki/default.nix
Normal file
20
users/blake/dots/programs/anki/default.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
program = "anki";
|
||||
cfg = config.dots.${program};
|
||||
in {
|
||||
options.dots.${program} = {
|
||||
enable = lib.mkEnableOption "enables ${program}";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
||||
# just install package
|
||||
home.packages = with pkgs; [anki];
|
||||
|
||||
};
|
||||
}
|
||||
48
users/blake/hosts/mew.nix
Normal file
48
users/blake/hosts/mew.nix
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../dots
|
||||
];
|
||||
|
||||
dots = {
|
||||
stylix = {
|
||||
enable = true;
|
||||
wallpaper = ../assets/wallpapers/yveltal.jpg;
|
||||
#wallpaper = ../assets/wallpapers/hairpin.png;
|
||||
};
|
||||
|
||||
programs.enable = true;
|
||||
|
||||
kitty.enable = true;
|
||||
librewolf.enable = true;
|
||||
waybar.enable = true;
|
||||
dunst.enable = true;
|
||||
hypr.enable = true;
|
||||
tofi.enable = true;
|
||||
clipboard.enable = true;
|
||||
cursor.enable = true;
|
||||
|
||||
btop.enable = true;
|
||||
lf.enable = true;
|
||||
nvf.enable = true;
|
||||
zsh.enable = true;
|
||||
ssh.enable = true;
|
||||
gpg.enable = true;
|
||||
git.enable = true;
|
||||
xdg.enable = true;
|
||||
|
||||
anki.enable = true;
|
||||
libreoffice.enable = true;
|
||||
gnucash.enable = true;
|
||||
qalculate.enable = true;
|
||||
bitwarden.enable = true;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user