This commit is contained in:
Spectre 2024-06-08 15:07:01 +02:00
parent dbd38133da
commit 96eb7a6bf0
2 changed files with 17 additions and 25 deletions

View file

@ -1,28 +1,10 @@
{pkgs, ...}: { {pkgs, ...}: {
boot.tmp.useTmpfs = true; users.mutableUsers = false;
users.users.root.password = "nixos";
time.timeZone = "Europe/Berlin"; services.getty.autologinUser = "root";
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
age vim
compsize git
duf
eza
file
htop
btop
jq
yq
du-dust
ranger
ripgrep
sops
wget
wireguard-tools
zip
]; ];
environment.pathsToLink = ["/share/zsh"];
system.stateVersion = "24.11";
} }

View file

@ -10,11 +10,21 @@
specialArgs = inputs; specialArgs = inputs;
in { in {
build = nixpkgs.lib.nixosSystem { base = nixpkgs.lib.nixosSystem {
./common.nix
conf.extraConfig
conf.hardware-configuration
./base.nix
./boot.nix
};
full = nixpkgs.lib.nixosSystem {
inherit system specialArgs; inherit system specialArgs;
modules = [ modules = [
./base.nix ./common.nix
conf.extraConfig conf.extraConfig
conf.hardware-configuration conf.hardware-configuration