hopefully add the file itself
This commit is contained in:
commit
5aa5bf2bb2
6 changed files with 317 additions and 0 deletions
44
plugins/users/freecorn.nix
Normal file
44
plugins/users/freecorn.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
let
|
||||
secrets = import ./secrets.nix;
|
||||
in {
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.freecorn = {
|
||||
description = "FreeCorn";
|
||||
isNormalUser = true;
|
||||
openssh.authorizedKeys.keys = secrets.cornKeys;
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
"video"
|
||||
"scanner"
|
||||
"lp"
|
||||
"plugdev"
|
||||
"nginx"
|
||||
"nfsShare"
|
||||
"docker"
|
||||
];
|
||||
};
|
||||
|
||||
# Define home manager programs and configs
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
users.freecorn = { config, pkgs, ... }: {
|
||||
# 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";
|
||||
};
|
||||
};
|
||||
}
|
Reference in a new issue