add firejail
This commit is contained in:
@@ -16,6 +16,7 @@
|
|||||||
./groups
|
./groups
|
||||||
./hardware
|
./hardware
|
||||||
./ide
|
./ide
|
||||||
|
./isolation
|
||||||
./networking
|
./networking
|
||||||
./notif
|
./notif
|
||||||
./office
|
./office
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ in
|
|||||||
chromium.enable = true;
|
chromium.enable = true;
|
||||||
desmume.enable = true;
|
desmume.enable = true;
|
||||||
ghidra.enable = true;
|
ghidra.enable = true;
|
||||||
|
firejail.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -45,6 +45,7 @@ in
|
|||||||
aegisub.enable = true;
|
aegisub.enable = true;
|
||||||
alacritty.enable = true;
|
alacritty.enable = true;
|
||||||
chromium.enable = true;
|
chromium.enable = true;
|
||||||
|
firejail.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./firejail.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
{ lib, pkgs, config, ... }:
|
||||||
|
let
|
||||||
|
inherit (lib) mkIf mkOption types;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.smayzy.firejail.enable = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = "firejail";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf config.smayzy.firejail.enable {
|
||||||
|
environment.systemPackages = with pkgs; [ firejail ];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user