Compare commits

..

No commits in common. "6d245ab9236d3a8839ae12bbcc84e49404514a8d" and "b73a6f488bc75648abf1793174f7cb9ab0c85c49" have entirely different histories.

7 changed files with 56 additions and 4 deletions

View File

@ -0,0 +1,23 @@
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.chromium.enable = mkOption {
type = types.bool;
default = false;
description = "chromium";
};
config = mkIf config.smayzy.chromium.enable {
programs.chromium.enable = true;
environment.systemPackages = with pkgs; [
chromium
];
};
}

View File

@ -0,0 +1,6 @@
{ ... }:
{
imports = [
./chromium.nix
];
}

View File

@ -3,6 +3,7 @@
imports = [ imports = [
./audio ./audio
./base-cli ./base-cli
./browser
./containers ./containers
./de ./de
./displaymanager ./displaymanager

View File

@ -28,12 +28,13 @@ in
gaming.enable = true; gaming.enable = true;
}; };
tor.enable = true; tor.enable = true;
chromium.enable = true;
wireshark.enable = true;
alacritty.enable = true; alacritty.enable = true;
mail.enable = true; mail.enable = true;
ardour.enable = true; ardour.enable = true;
}; };
programs.firefox.enable = true; programs.firefox.enable = true;
programs.wireshark.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
librewolf librewolf
prismlauncher prismlauncher
@ -57,7 +58,6 @@ in
qbittorrent qbittorrent
android-tools android-tools
gdb gdb
chromium
]; ];
}; };
} }

View File

@ -32,12 +32,13 @@ in
}; };
tor.enable = true; tor.enable = true;
alacritty.enable = true; alacritty.enable = true;
chromium.enable = true;
wireshark.enable = true; wireshark.enable = true;
steam.enable = true; steam.enable = true;
mail.enable = true; mail.enable = true;
}; };
programs.firefox.enable = true; programs.firefox.enable = true;
programs.wireshark.enable = true;
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
networkmanagerapplet networkmanagerapplet
@ -59,7 +60,6 @@ in
arduino-cli arduino-cli
firejail firejail
gdb gdb
chromium
]; ];
}; };
} }

View File

@ -2,6 +2,7 @@
{ {
imports = [ imports = [
./openssh.nix ./openssh.nix
./wireshark.nix
./mail.nix ./mail.nix
]; ];
} }

View File

@ -0,0 +1,21 @@
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.wireshark.enable = mkOption {
type = types.bool;
default = false;
description = "wireshark";
};
config = mkIf config.smayzy.wireshark.enable {
programs.wireshark.enable = true;
environment.systemPackages = with pkgs; [ wireshark ];
};
}