NixOSDots/hosts/light/configuration.nix

45 lines
850 B
Nix
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ pkg, config, ... }:
{
imports = [
./modules.nix
];
networking = {
hostName = "light";
};
# Users
# Don't forget to add a password or change the username
users = {
users = {
light = { # Here
isNormalUser = true;
# You can change the description too !
description = "A lightweight system for lowend or performance machines"
shell = pkgs.zsh;
extraGroups = [ "networkmanager" "wheel" ];
};
};
};
# Home-Manager config
home-manager = {
extraSpecialArgs = { inherit inputs };
useGlobalPkgs = true;
useUserPackages = true;
backupFileExtension = "HM-backup";
users = {
# Change this to your username
"light" = import ./home.nix";
};
};
environment = {
systemPackages = with pkgs; [
wget
git
];
};
}