removed other peeps

This commit is contained in:
vali 2024-04-29 22:18:58 +02:00
commit 9005bb3f4e
31 changed files with 40 additions and 937 deletions

View file

@ -14,8 +14,9 @@ _: {
./kitty.nix
./vivado.nix
./alacritty.nix
./firefox.nix
./firefox.nix
./steam.nix
./minecraft.nix
./emacs.nix
];
}

17
modules/gui/emacs.nix Normal file
View file

@ -0,0 +1,17 @@
{ config, lib, pkgs, ... }:
with lib; let
cfg = config.modules.programs.emacs;
username = config.modules.other.system.username;
in {
options.modules.programs.emacs.enable = mkEnableOption "emacs";
config = mkIf cfg.enable {
home-manager.users.${username} = {
programs.emacs = {
enable = true;
package = pkgs.emacs;
};
};
};
}

View file

@ -47,20 +47,10 @@ in {
gtk = {
enable = true;
theme = {
inherit (cfg) name;
package = cfg.package.override {
size = "standard";
accents = [ cfg.accentColour ];
inherit (cfg) variant;
tweaks = [ "normal" ];
};
inherit (cfg) name package;
};
iconTheme = {
inherit (cfg.iconTheme) name;
package = cfg.iconTheme.package.override {
accent = cfg.accentColour;
flavor = cfg.variant;
};
inherit (cfg.iconTheme) name package;
};
gtk2 = {
configLocation = "${hmCfg.xdg.configHome}/gtk-2.0/gtkrc";

View file

@ -33,16 +33,11 @@ in {
};
home-manager.users.${username} = {
# thanks raf :3 https://github.com/NotAShelf/nyx/blob/main/homes/notashelf/themes/qt.nix
qt = {
enable = true;
platformTheme = "qtct";
platformTheme.name = "qtct";
style = {
inherit (cfg) name;
package = cfg.package.override {
flavour = [ cfg.variant ];
accents = [ cfg.accentColour ];
};
inherit (cfg) name package;
};
};