36 lines
1.0 KiB
Nix
36 lines
1.0 KiB
Nix
# A staring point is the basic NIXOS configuration generated by the ISO installer.
|
||
# On an existing NIXOS install you can use the following command in your flakes basedir:
|
||
# sudo nixos-generate-config --dir ./hosts/your-host
|
||
#
|
||
# Please make sure to change the first couple of lines in your configuration.nix:
|
||
|
||
# { config, inputs, lib, pkgs, ... }:
|
||
#
|
||
# {
|
||
# imports = [ # Include the results of the hardware scan.
|
||
# ./hardware-configuration.nix
|
||
# inputs.home-manager.nixosModules.home-manager
|
||
# ];
|
||
# ...
|
||
#
|
||
# Moreover please update the packages option in your user configuration and add the home-manager options:
|
||
|
||
# users.users = {
|
||
# your-name = {
|
||
# isNormalUser = true;
|
||
# initialPassword = "12345";
|
||
# extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
||
# packages = [ inputs.home-manager.packages.${pkgs.system}.default ];
|
||
# };
|
||
# };
|
||
#
|
||
# home-manager = {
|
||
# useUserPackages = true;
|
||
# users.your-name =
|
||
# import ../../home/your-name/${config.networking.hostName}.nix;
|
||
# };
|
||
|
||
{
|
||
imports = [ ../common ./configuration.nix ];
|
||
}
|