37 lines
1017 B
Nix
37 lines
1017 B
Nix
# Edit this configuration file to define what should be installed on
|
||
# your system. Help is available in the configuration.nix(5) man page, on
|
||
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
||
|
||
{ inputs, ... }:
|
||
|
||
{
|
||
imports =
|
||
[
|
||
../../configuration/base.nix
|
||
# Include the results of the hardware scan.
|
||
./hardware-configuration.nix
|
||
inputs.disko.nixosModules.default
|
||
./disk-config.nix
|
||
inputs.home-manager.nixosModules.default
|
||
../../configuration/modules/laptop.nix
|
||
];
|
||
|
||
networking.hostName = "starlite"; # Define your hostname.
|
||
|
||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||
users.users.worble = {
|
||
initialPassword = "password";
|
||
isNormalUser = true;
|
||
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
||
linger = true;
|
||
};
|
||
|
||
home-manager.useGlobalPkgs = true;
|
||
home-manager = {
|
||
extraSpecialArgs = { inherit inputs; };
|
||
users = {
|
||
"worble" = import ./home.nix;
|
||
};
|
||
};
|
||
}
|