refactor
This commit is contained in:
parent
66c05f9093
commit
45d6f4b0f3
205 changed files with 9040 additions and 342 deletions
20
modules/nixos/desktop/addons/nautilus/default.nix
Normal file
20
modules/nixos/desktop/addons/nautilus/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ options, config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
with lib.plusultra;
|
||||
let cfg = config.plusultra.desktop.addons.nautilus;
|
||||
in
|
||||
{
|
||||
options.plusultra.desktop.addons.nautilus = with types; {
|
||||
enable = mkBoolOpt false "Whether to enable the gnome file manager.";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
# Enable support for browsing samba shares.
|
||||
services.gvfs.enable = true;
|
||||
networking.firewall.extraCommands =
|
||||
"iptables -t raw -A OUTPUT -p udp -m udp --dport 137 -j CT --helper netbios-ns";
|
||||
|
||||
environment.systemPackages = with pkgs; [ gnome.nautilus ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue