lots of stuff

This commit is contained in:
xunuwu 2024-06-26 20:49:16 +02:00
parent 30bd03615f
commit 1ed9ce6864
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
30 changed files with 223 additions and 159 deletions

View file

@ -2,15 +2,11 @@
imports = [
./security.nix
./users.nix
./tools.nix
./ssh.nix
./compat.nix
../nix
../programs/zsh.nix
];
documentation.dev.enable = true;
i18n = {
defaultLocale = "en_US.UTF-8";
supportedLocales = [
@ -19,8 +15,5 @@
};
services.xserver.xkb.layout = "eu";
# don't touch this
system.stateVersion = lib.mkDefault "23.11";
time.timeZone = lib.mkDefault "Europe/Stockholm";
time.timeZone = lib.mkDefault "Europe/Berlin";
}

15
system/core/docs.nix Normal file
View file

@ -0,0 +1,15 @@
{pkgs, ...}: {
documentation = {
dev.enable = true;
man.generateCaches = true;
man = {
man-db.enable = false;
mandoc.enable = true;
};
};
environment.systemPackages = with pkgs; [
linux-manual
man-pages
man-pages-posix
];
}

4
system/core/harden.nix Normal file
View file

@ -0,0 +1,4 @@
{
#TODO: add stuff here
# use lynis mayb
}

View file

@ -1,14 +0,0 @@
{pkgs, ...}: {
environment.systemPackages = with pkgs; [
vim
htop
btop
wget
ripgrep
nethogs
ffmpeg-full
parted
pciutils
usbutils
];
}