nixos/modules/common/default.nix

27 lines
478 B
Nix
Raw Normal View History

{ config, lib, pkgs, ...}:
{
2024-05-18 17:09:59 -04:00
options = {
user = lib.mkOption {
type = lib.types.str;
description = "Primary user of the system";
};
2024-05-18 17:12:52 -04:00
fullName = lib.mkOption {
type = lib.types.str;
description = "Puny Hooman readable name of the user";
};
2024-05-18 17:09:59 -04:00
};
config =
let
stateVersion = "23.11";
in
{
environment.systemPackages = with pkgs; [
git
vim
wget
curl
vscode
];
};
}