Update the Nix modules and config

This commit is contained in:
Gabriel Arazas 2020-11-10 16:20:03 +08:00
parent aa2d8ac987
commit f0855976af
9 changed files with 27 additions and 9 deletions

View File

@ -16,6 +16,12 @@ path = .ssh
# My Cachix signing key # My Cachix signing key
path = .config/cachix path = .config/cachix
# My Cookiecutter templates
path = templates
# My encrypted files
path = secrets
# Some regexps specifying names and paths to ignore # Some regexps specifying names and paths to ignore
ignore = Name temp.* ignore = Name temp.*
ignore = Name *~ ignore = Name *~

View File

@ -105,7 +105,7 @@
cc.enable = true; cc.enable = true;
data = { data = {
enable = true; enable = true;
dhall.enable = true; #dhall.enable = true;
}; };
documentation = { documentation = {
enable = true; enable = true;
@ -123,7 +123,6 @@
racket.enable = true; racket.enable = true;
}; };
math.enable = true; math.enable = true;
perl.enable = true;
perl = { perl = {
enable = true; enable = true;
raku.enable = true; raku.enable = true;

View File

@ -42,6 +42,7 @@ in {
carla # A plugin host useful for a consistent hub for them soundfonts and SFZs. carla # A plugin host useful for a consistent hub for them soundfonts and SFZs.
fluidsynth # Synth for fluid sounds. fluidsynth # Synth for fluid sounds.
geonkick # Create them percussions. geonkick # Create them percussions.
giada # A hardcore loop machine for wannabe musicians like me.
helm # A great synthesizer plugin. helm # A great synthesizer plugin.
hydrogen # Them drum beats composition will get good. hydrogen # Them drum beats composition will get good.
lmms # A decent libre FL Studio clone. lmms # A decent libre FL Studio clone.

View File

@ -26,7 +26,7 @@ in {
programs.adb.enable = true; programs.adb.enable = true;
# Install Anbox emulation. # Install Anbox emulation.
virtualisation.anbox.enable = true; #virtualisation.anbox.enable = true;
my.user.extraGroups = [ "adbusers" ]; my.user.extraGroups = [ "adbusers" ];
}; };

View File

@ -29,8 +29,19 @@ in {
# Augment your shell with automatic environment variables loading and unloading. # Augment your shell with automatic environment variables loading and unloading.
my.home.programs = { my.home.programs = {
direnv.enable = true; direnv = {
enable = true;
enableBashIntegration = true;
enableFishIntegration = true;
enableZshIntegration = true;
};
fish.enable = true; fish.enable = true;
}; };
}; };
my.zsh = {
rc = ''
eval "$(${pkgs.direnv}/bin/direnv hook zsh)"
'';
};
} }

View File

@ -27,6 +27,7 @@ in {
pup # A cute little puppy that can understand HTML. pup # A cute little puppy that can understand HTML.
sqlite # A cute little battle-tested library for your data abominations. sqlite # A cute little battle-tested library for your data abominations.
sqlitebrowser # Skim the DB and create a quick scraping script for it. sqlitebrowser # Skim the DB and create a quick scraping script for it.
yq # A YAML parser on the command-line.
] ++ ] ++
(if cfg.dhall.enable then [ (if cfg.dhall.enable then [

View File

@ -27,6 +27,6 @@ in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
my.packages = [ perlWithPackages ] my.packages = [ perlWithPackages ]
++ (if cfg.raku.enable then [ ++ (if cfg.raku.enable then [
rakudo pkgs.rakudo
] else []); }; ] else []); };
} }

View File

@ -17,7 +17,7 @@
"base0C": "#81A1C1", "base0C": "#81A1C1",
"base0D": "#B48EAD", "base0D": "#B48EAD",
"base0E": "#8FBCBB", "base0E": "#8FBCBB",
"base0F": "#ECEFF4" "base0F": "#ECEFF4",
"font": { "font": {
"mono": { "mono": {
"name": "Iosevka", "name": "Iosevka",

View File

@ -29,7 +29,7 @@
# the top and down respectively. # the top and down respectively.
# The width can be negative. In this case the actual width is the # The width can be negative. In this case the actual width is the
# screen width minus the width defined in within the geometry option. # screen width minus the width defined in within the geometry option.
geometry = "350x50-10+50" geometry = "350x50-10-50"
# Show how many messages are currently hidden (because of geometry). # Show how many messages are currently hidden (because of geometry).
indicate_hidden = yes indicate_hidden = yes
@ -283,8 +283,8 @@
[urgency_low] [urgency_low]
# IMPORTANT: colors have to be defined in quotation marks. # IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment. # Otherwise the "#" and following would be interpreted as a comment.
background = "{{ cookiecutter.base00 }}" background = "{{ cookiecutter.base01 }}"
foreground = "{{ cookiecutter.base0F }}" foreground = "{{ cookiecutter.base07 }}"
timeout = 10 timeout = 10
# Icon for notifications with low urgency, uncomment to enable # Icon for notifications with low urgency, uncomment to enable
#icon = /path/to/icon #icon = /path/to/icon