Compare commits
No commits in common. "6d245ab9236d3a8839ae12bbcc84e49404514a8d" and "b73a6f488bc75648abf1793174f7cb9ab0c85c49" have entirely different histories.
6d245ab923
...
b73a6f488b
23
modules/nix/browser/chromium.nix
Normal file
23
modules/nix/browser/chromium.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
||||
6
modules/nix/browser/default.nix
Normal file
6
modules/nix/browser/default.nix
Normal file
@ -0,0 +1,6 @@
|
||||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./chromium.nix
|
||||
];
|
||||
}
|
||||
@ -3,6 +3,7 @@
|
||||
imports = [
|
||||
./audio
|
||||
./base-cli
|
||||
./browser
|
||||
./containers
|
||||
./de
|
||||
./displaymanager
|
||||
|
||||
@ -28,12 +28,13 @@ in
|
||||
gaming.enable = true;
|
||||
};
|
||||
tor.enable = true;
|
||||
chromium.enable = true;
|
||||
wireshark.enable = true;
|
||||
alacritty.enable = true;
|
||||
mail.enable = true;
|
||||
ardour.enable = true;
|
||||
};
|
||||
programs.firefox.enable = true;
|
||||
programs.wireshark.enable = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
librewolf
|
||||
prismlauncher
|
||||
@ -57,7 +58,6 @@ in
|
||||
qbittorrent
|
||||
android-tools
|
||||
gdb
|
||||
chromium
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@ -32,12 +32,13 @@ in
|
||||
};
|
||||
tor.enable = true;
|
||||
alacritty.enable = true;
|
||||
chromium.enable = true;
|
||||
wireshark.enable = true;
|
||||
steam.enable = true;
|
||||
mail.enable = true;
|
||||
};
|
||||
programs.firefox.enable = true;
|
||||
programs.wireshark.enable = true;
|
||||
|
||||
networking.networkmanager.enable = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
networkmanagerapplet
|
||||
@ -59,7 +60,6 @@ in
|
||||
arduino-cli
|
||||
firejail
|
||||
gdb
|
||||
chromium
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
{
|
||||
imports = [
|
||||
./openssh.nix
|
||||
./wireshark.nix
|
||||
./mail.nix
|
||||
];
|
||||
}
|
||||
|
||||
21
modules/nix/networking/wireshark.nix
Normal file
21
modules/nix/networking/wireshark.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user