added security module

This commit is contained in:
Moritz Böhme 2021-09-30 19:41:08 +02:00
parent 90751ed9a8
commit 79fa032a15
2 changed files with 82 additions and 15 deletions

View file

@ -1,33 +1,28 @@
{ lib, pkgs, ... }:
{
imports = [
./apps
./cli
./desktop
./services
];
imports = [ ./apps ./cli ./desktop ./services ./security.nix ];
# USERS
users.users.moritz = {
shell = pkgs.zsh;
isNormalUser = true;
home = "/home/moritz";
extraGroups = [ "wheel" "networkmanager" "video" ]; # Enable sudo for the user.
extraGroups =
[ "wheel" "networkmanager" "video" ]; # Enable sudo for the user.
};
fonts.fonts = with pkgs; [
(nerdfonts.override { fonts = [ "FiraCode" "DroidSansMono" "JetBrainsMono" ]; })
];
fonts.fonts = with pkgs;
[
(nerdfonts.override {
fonts = [ "FiraCode" "DroidSansMono" "JetBrainsMono" ];
})
];
time.timeZone = "Europe/Berlin";
# PACKAGES
environment.systemPackages = with pkgs; [
vim
wget
firefox
];
environment.systemPackages = with pkgs; [ vim wget firefox ];
home-manager.users.moritz = {
# Let Home Manager install and manage itself.