some formatting

This commit is contained in:
gwg313 2024-12-02 18:12:36 -05:00
parent c91faa5aaf
commit 57c3bb3e61
Signed by: gwg313
GPG key ID: 60FF63B4826B7400
21 changed files with 472 additions and 360 deletions

View file

@ -6,7 +6,8 @@
outputs,
user,
...
}: {
}:
{
imports = [
./packages.nix
./users.nix
@ -16,12 +17,15 @@
#
nixpkgs.config.allowUnfree = true;
nix.settings.experimental-features = ["nix-command" "flakes"];
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
nix.settings.auto-optimise-store = true;
nix.optimise.automatic = true;
nix.settings.trusted-users = ["${user}"];
nix.settings.trusted-users = [ "${user}" ];
# Disable so comma can be installed
programs.command-not-found.enable = false;

View file

@ -2,7 +2,8 @@
config,
lib,
...
}: {
}:
{
options = {
ssh_client.enable = lib.mkEnableOption "enable ssh client settings";
};
@ -80,7 +81,7 @@
# display an ASCII art of the server's host key
VisualHostKey yes
";
";
};
};
}

View file

@ -5,13 +5,21 @@
inputs,
outputs,
...
}: {
}:
{
# Define a user account. Don't forget to set a password with 'passwd'.
programs.zsh.enable = true;
users.users.gwg313 = {
isNormalUser = true;
description = "Glen Goodwin";
extraGroups = ["networkmanager" "wheel" "video" "docker" "audio" "wireshark"];
extraGroups = [
"networkmanager"
"wheel"
"video"
"docker"
"audio"
"wireshark"
];
shell = pkgs.zsh;
uid = 1000;
};