Refactor: Move and subcategorize modules
This commit is contained in:
parent
49ebf1155e
commit
d6f25a0f4e
12 changed files with 9 additions and 7 deletions
17
modules/system/basic.nix
Normal file
17
modules/system/basic.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
security.sudo.extraConfig = ''
|
||||
Defaults lecture="never"
|
||||
'';
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
fastfetch
|
||||
wget
|
||||
unzip
|
||||
git
|
||||
tree
|
||||
dos2unix
|
||||
neovim
|
||||
];
|
||||
}
|
8
modules/system/fonts.nix
Normal file
8
modules/system/fonts.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
fonts.packages = with pkgs; [
|
||||
nerdfonts
|
||||
];
|
||||
}
|
||||
|
15
modules/system/security.nix
Normal file
15
modules/system/security.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
services.clamav = {
|
||||
scanner.enable = true;
|
||||
daemon.enable = true;
|
||||
fangfrisch.enable = true;
|
||||
updater.enable = true;
|
||||
};
|
||||
|
||||
security.apparmor = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue