Make the image smaller
This commit is contained in:
parent
4e6c12f851
commit
72d4cf648d
3 changed files with 14 additions and 10 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
];
|
||||
|
||||
|
|
11
nixos/users/albert/small.nix
Normal file
11
nixos/users/albert/small.nix
Normal 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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue