Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelroses committed Feb 19, 2024
1 parent 03d6329 commit 848ed92
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
2 changes: 2 additions & 0 deletions flake/modules/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ in {
homeManagerModules = {
gtklock = mkModule /modules/extra/home-manager/gtklock.nix;

swaync = mkModule /modules/extra/home-manager/swaync.nix;

default = builtins.throw "There is no default module.";
};
};
Expand Down
12 changes: 8 additions & 4 deletions home/isabel/programs/configs/editors/default.nix
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
{
lib,
pkgs,
inputs',
osConfig,
...
}: {
}: let
inherit (lib) optionals;
cfg = osConfig.modules.programs;
in {
imports = [
./vscode

./micro.nix
./nvim.nix
];

# need this one for uni
config.home.packages = with pkgs;
lib.optionals osConfig.modules.programs.gui.enable [
optionals cfg.gui.enable [
jetbrains.idea-ultimate
# arduino
];
]
++ optionals cfg.agnostic.editors.neovim.enable [inputs'.neovim.packages.default];
}
5 changes: 0 additions & 5 deletions home/isabel/programs/configs/editors/nvim.nix

This file was deleted.

2 changes: 1 addition & 1 deletion home/isabel/programs/configs/gui/viewnior.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
osConfig,
lib,
pkgs,
osConfig,
...
}: let
acceptedTypes = ["laptop" "desktop" "hybrid"];
Expand Down

0 comments on commit 848ed92

Please sign in to comment.