Compare commits
2 Commits
7c40fea9b0
...
3864013e1a
| Author | SHA1 | Date | |
|---|---|---|---|
| 3864013e1a | |||
| 168492c26b |
@ -20,28 +20,17 @@
|
|||||||
font-awesome
|
font-awesome
|
||||||
thunderbird
|
thunderbird
|
||||||
lf
|
lf
|
||||||
qalculate-qt
|
|
||||||
baobab
|
|
||||||
arduino-ide
|
arduino-ide
|
||||||
piper
|
piper
|
||||||
calibre
|
calibre
|
||||||
loupe
|
|
||||||
gimp3
|
|
||||||
mullvad-vpn
|
|
||||||
base16-schemes
|
base16-schemes
|
||||||
tor
|
tor
|
||||||
wireshark
|
|
||||||
tshark
|
tshark
|
||||||
freecad-wayland
|
freecad-wayland
|
||||||
aegisub
|
aegisub
|
||||||
audacity
|
|
||||||
mpv
|
mpv
|
||||||
fritzing
|
fritzing
|
||||||
networkmanagerapplet
|
|
||||||
gparted
|
|
||||||
gnome-disk-utility
|
|
||||||
sl
|
sl
|
||||||
vlc
|
|
||||||
];
|
];
|
||||||
|
|
||||||
services.ratbagd.enable = true;
|
services.ratbagd.enable = true;
|
||||||
|
|||||||
@ -15,6 +15,8 @@
|
|||||||
./office
|
./office
|
||||||
./comm
|
./comm
|
||||||
./displaymanager
|
./displaymanager
|
||||||
|
./vpn
|
||||||
|
./utilities
|
||||||
];
|
];
|
||||||
|
|
||||||
# Timzone and locales (same for all machines so I put it here)
|
# Timzone and locales (same for all machines so I put it here)
|
||||||
|
|||||||
@ -23,6 +23,8 @@ in
|
|||||||
element.enable = true;
|
element.enable = true;
|
||||||
webcord.enable = true;
|
webcord.enable = true;
|
||||||
sddm.enable = true;
|
sddm.enable = true;
|
||||||
|
mullvad.enable = true;
|
||||||
|
gui-utilities.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -23,6 +23,8 @@ in
|
|||||||
webcord.enable = true;
|
webcord.enable = true;
|
||||||
element.enable = true;
|
element.enable = true;
|
||||||
sddm.enable = true;
|
sddm.enable = true;
|
||||||
|
mullvad.enable = true;
|
||||||
|
gui-utilities.enable = true;
|
||||||
};
|
};
|
||||||
services.logind.lidSwitch = "ignore";
|
services.logind.lidSwitch = "ignore";
|
||||||
};
|
};
|
||||||
|
|||||||
6
modules/nix/utilities/default.nix
Normal file
6
modules/nix/utilities/default.nix
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{ lib, config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./gui-utilities.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
26
modules/nix/utilities/gui-utilities.nix
Normal file
26
modules/nix/utilities/gui-utilities.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ lib, config, pkgs, ... }:
|
||||||
|
let
|
||||||
|
inherit (lib) mkIf mkOption types;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.smayzy.gui-utilities.enable = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = "basic gui-utilities";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf config.smayzy.gui-utilities.enable {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
qalculate-qt
|
||||||
|
baobab
|
||||||
|
loupe
|
||||||
|
gimp3
|
||||||
|
wireshark
|
||||||
|
audacity
|
||||||
|
networkmanagerapplet
|
||||||
|
gparted
|
||||||
|
gnome-disk-utility
|
||||||
|
vlc
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
6
modules/nix/vpn/default.nix
Normal file
6
modules/nix/vpn/default.nix
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{ lib, config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./mullvad.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
18
modules/nix/vpn/mullvad.nix
Normal file
18
modules/nix/vpn/mullvad.nix
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
{ lib, config, pkgs, ... }:
|
||||||
|
let
|
||||||
|
inherit (lib) mkIf mkOption types;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.smayzy.mullvad.enable = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = "mullvad's software";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf config.smayzy.mullvad.enable {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
mullvad-vpn
|
||||||
|
mullvad-browser
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user