Make the image smaller

This commit is contained in:
iFargle 2023-10-05 12:26:26 +09:00
parent 4e6c12f851
commit 72d4cf648d
3 changed files with 14 additions and 10 deletions

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs, modulesPath, desktop, username, ... }: {
imports = [
# This machine won't be using secureboot
../../common/modules/boot.nix
../../common/modules/boot.nixz
./disks.nix
];
nixpkgs.config.allowUnfree = false;

View file

@ -9,21 +9,14 @@
# NixOS Modules
./common/modules/networking.nix # Initial Networking configs
./common/modules/nixos.nix # NixOS related items
./users/${username}
./users/${username}/small.nix
./hosts/${hostname}
];
# List packages installed in system profile
environment.systemPackages = with pkgs; [
curl
rsync
git
duf
ncdu
du-dust
sops
gnupg
];

View file

@ -0,0 +1,11 @@
{ config, desktop, lib, pkgs, ... }: {
users.mutableUsers = false;
users.users.albert = {
isNormalUser = true;
description = "Albert J. Copeland";
extraGroups = [ "networkmanager" "wheel" ];
# mkpasswd -m sha-512
hashedPassword = "$y$j9T$wKLsIWaA4Gf63RvjedwLJ0$EHKL6BBJV0CAxEKcHHjaBqW085KJ/MGvmbyWzmcWOy6";
openssh.authorizedKeys.keyFiles = [ ../../../keys/ssh/keys.txt ];
};
}