mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
chore: clean up flake
This commit is contained in:
parent
178d51cde6
commit
6ca7717d3e
63 changed files with 5134 additions and 1157 deletions
7
modules/nixos/common/tmp.nix
Normal file
7
modules/nixos/common/tmp.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
options.swarselsystems.modules.tmp = lib.mkEnableOption "tmp dir config";
|
||||
config = lib.mkIf config.swarselsystems.modules.tmp {
|
||||
boot.tmp.useTmpfs = !config.swarselsystems.modules.impermanence true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue