This repository has been archived on 2024-10-19. You can view files and clone it, but cannot push or open issues or pull requests.
server-nixos-config/freecorn.nix

50 lines
1 KiB
Nix
Raw Permalink Normal View History

2024-09-20 13:30:18 -04:00
let
secrets = import ./secrets.nix;
in {
2024-08-27 14:23:50 -04:00
# Define a user account. Don't forget to set a password with passwd.
users.users.freecorn = {
description = "FreeCorn";
isNormalUser = true;
2024-09-20 13:30:18 -04:00
openssh.authorizedKeys.keys = secrets.cornKeys;
2024-08-27 14:23:50 -04:00
extraGroups = [
"networkmanager"
"wheel"
"video"
"scanner"
"lp"
"plugdev"
"nginx"
"nfsShare"
"docker"
2024-08-27 14:23:50 -04:00
];
2024-09-27 16:05:28 -04:00
uid = 1000;
2024-08-27 14:23:50 -04:00
};
# Define home manager programs and configs
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.freecorn = { config, pkgs, ... }: {
2024-10-18 22:30:36 -04:00
# imports = [
# ./zsh.nix
# ./neovim.nix
# ];
2024-08-27 14:23:50 -04:00
# Install user programs
home.packages = (with pkgs; [
rustdesk-flutter anydesk vlc
]);
# OBS with plugins
programs.obs-studio = {
enable = true;
plugins = with pkgs.obs-studio-plugins; [
advanced-scene-switcher obs-multi-rtmp
];
};
# Don't change this
home.stateVersion = "24.05";
};
};
}