33 lines
797 B
Nix
33 lines
797 B
Nix
{ config, pkgs, lib, diskoVersion, ... }:
|
||
let
|
||
disko = pkgs.callPackage ../package.nix { inherit diskoVersion; };
|
||
in
|
||
{
|
||
imports = [
|
||
../quickly.nix
|
||
## installer.nix is a system service to run a script on boot
|
||
#../installer/installer.nix
|
||
];
|
||
config = {
|
||
services.getty.autologinUser = "nixos";
|
||
users.users.nixos = {
|
||
isNormalUser = true;
|
||
password = "password";
|
||
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
||
packages = with pkgs; [
|
||
tmux
|
||
htop
|
||
tree
|
||
];
|
||
};
|
||
environment.systemPackages = with pkgs; [
|
||
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||
wget
|
||
disko
|
||
coreutils-full
|
||
nixos-install
|
||
nettools
|
||
];
|
||
|
||
};
|
||
} |