Compare commits

..

5 commits

Author SHA1 Message Date
76ee520d78 easyeffects module 2024-06-27 23:30:07 -07:00
c7923e6ae6 filetypes 2024-06-27 23:30:07 -07:00
e26d290125 switching to the daemon 2024-06-27 23:30:07 -07:00
381dfb4380 dconf 2024-06-27 23:30:07 -07:00
d8a13c0b6b easyeffects 2024-06-27 23:30:07 -07:00
3 changed files with 21 additions and 1 deletions

View file

@ -3,6 +3,7 @@
{
imports = [
./neovim.nix
./filetypes.nix
./alacritty.nix
./fish.nix
./git.nix
@ -10,10 +11,12 @@
./user.nix
./rose-pine-cursor.nix
./projects.nix
./easyeffects.nix
];
snowhawk.user.enable = lib.mkDefault true;
snowhawk.tmux.enable = lib.mkDefault true;
snowhawk.fish.enable = lib.mkDefault true;
snowhawk.git.enable = lib.mkDefault true;
snowhawk.defaultPrograms.enable = lib.mkDefault true;
}

View file

@ -0,0 +1,17 @@
{ lib, config, ... }:
let
cfg = config.snowhawk.easyeffects;
in
{
options.snowhawk.easyeffects = {
enable = lib.mkEnableOption "easyeffects";
};
config = lib.mkIf cfg.enable {
# for easyeffects
dconf.enable = true;
services.easyeffects.enable = true;
};
}

View file

@ -5,7 +5,7 @@ in {
options.snowhawk.defaultPrograms = {
enable = lib.mkEnableOption "default programs";
};
config = cfg.enable {
config = lib.mkIf cfg.enable {
xdg.mimeApps = {
enable = true;
defaultApplications = {