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

View file

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

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 ];
};
}