the great with purge

This commit is contained in:
Charlie Root 2025-04-06 22:45:09 +02:00
commit 5767763227
Signed by: faukah
SSH key fingerprint: SHA256:Uj2AXqvtdCA4hn5Hq0ZonhIAyUqI1q4w2sMG3Z1TH7E
8 changed files with 49 additions and 48 deletions

View file

@ -5,9 +5,4 @@
... ...
}: let }: let
in { in {
# environment.systemPackages = with pkgs; lib.mkMerge [
# (mkIf cfg.bluetooth.enable [
# ])
# ];
} }

View file

@ -5,7 +5,9 @@
# ./media.nix # ./media.nix
]; ];
# These are some standard packages I want to have installed on every system, regardless of type or use case. # These are some standard packages I want to have installed on every system, regardless of type or use case.
environment.systemPackages = with pkgs; [ environment.systemPackages = builtins.attrValues {
inherit
(pkgs)
calc # Calculator device calc # Calculator device
coreutils-full # All of the GNU coreutils coreutils-full # All of the GNU coreutils
curl # I sometimes need to curl stuff curl # I sometimes need to curl stuff
@ -15,5 +17,6 @@
unzip # zipping and unzipping stuff unzip # zipping and unzipping stuff
zip zip
util-linux util-linux
]; ;
};
} }

View file

@ -1,13 +1,15 @@
{ {
config, config,
lig, lib,
pkgs, pkgs,
... ...
}: let }: {
in {
# These are packages I only need in wayland environments, nowhere else. # These are packages I only need in wayland environments, nowhere else.
environment.systemPackages = with pkgs; [ environment.systemPackages = builtins.attrValues {
inherit
(pkgs)
wl-clipboard wl-clipboard
grimblast grimblast
]; ;
};
} }

View file

@ -95,27 +95,27 @@
select-word = "BTN_LEFT-2"; select-word = "BTN_LEFT-2";
select-word-whitespace = "Control+BTN_LEFT-2"; select-word-whitespace = "Control+BTN_LEFT-2";
}; };
colors = with colours; { colors = {
background = base00; # base color background = colours.base00; # base color
foreground = base05; # text color foreground = colours.base05; # text color
regular0 = base03; # black regular0 = colours.base03; # black
regular1 = base08; # red regular1 = colours.base08; # red
regular2 = base0B; # green regular2 = colours.base0B; # green
regular3 = base0A; # yellow regular3 = colours.base0A; # yellow
regular4 = base0D; # blue regular4 = colours.base0D; # blue
regular5 = base0F; #magenta regular5 = colours.base0F; #magenta
regular6 = base0C; #cyan regular6 = colours.base0C; #cyan
regular7 = base06; #white regular7 = colours.base06; #white
bright0 = base04; # Surface 2 bright0 = colours.base04; # Surface 2
bright1 = base08; # red bright1 = colours.base08; # red
bright2 = base0B; # green bright2 = colours.base0B; # green
bright3 = base0A; # yellow bright3 = colours.base0A; # yellow
bright4 = base0D; # blue bright4 = colours.base0D; # blue
bright5 = base0F; # pink bright5 = colours.base0F; # pink
bright6 = base0C; # teal bright6 = colours.base0C; # teal
bright7 = base07; # Subtext 0 bright7 = colours.base07; # Subtext 0
alpha = 1.0; alpha = 1.0;
}; };

View file

@ -3,9 +3,10 @@
lib, lib,
pkgs, pkgs,
... ...
}: }: let
with lib; let
cfg = config.modules.programs.minecraft; cfg = config.modules.programs.minecraft;
inherit (lib.options) mkEnableOption;
inherit (lib.modules) mkIf;
in { in {
options.modules.programs.minecraft = { options.modules.programs.minecraft = {
enable = mkEnableOption "minecraft"; enable = mkEnableOption "minecraft";

View file

@ -10,7 +10,7 @@
in { in {
options.modules.services.locate.enable = mkEnableOption "Locate service"; options.modules.services.locate.enable = mkEnableOption "Locate service";
config = mkIf cfg.enable { config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [plocate]; environment.systemPackages = [pkgs.plocate];
services.locate = { services.locate = {
enable = true; enable = true;
interval = "hourly"; interval = "hourly";

View file

@ -2,9 +2,9 @@
config, config,
lib, lib,
... ...
}: }: let
with lib; let
cfg = config.modules.system.sound; cfg = config.modules.system.sound;
inherit (lib.modules) mkIf;
in { in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
services.pulseaudio.enable = false; services.pulseaudio.enable = false;

View file

@ -8,7 +8,7 @@
# inherit (inputs) quickshell; # inherit (inputs) quickshell;
# inherit (lib.generators) toKeyValue; # inherit (lib.generators) toKeyValue;
in { in {
# environment.systemPackages = with pkgs; [ # environment.systemPackages = [
# qt6.qtimageformats # amog # qt6.qtimageformats # amog
# qt6.qt5compat # shader fx # qt6.qt5compat # shader fx
# (quickshell.packages.x86_64-linux.default.override { # (quickshell.packages.x86_64-linux.default.override {