bonfire/nixosConfigurations/astora/users.nix

107 lines
2.5 KiB
Nix
Raw Normal View History

2023-12-26 15:17:02 +05:00
{ config, pkgs, lib, ... }:
{
# Users
users.users.nafaryus = {
isNormalUser = true;
description = "L-Nafaryus";
extraGroups = [ "networkmanager" "wheel" ];
group = "users";
uid = 1000;
initialPassword = "nixos";
shell = pkgs.fish;
};
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
bonfire.enable = true;
home-manager.users.nafaryus = { pkgs, ... }: {
home.stateVersion = "23.11";
home.username = "nafaryus";
home.homeDirectory = "/home/nafaryus";
home.packages = with pkgs; [
gnupg
git
2023-12-19 11:50:00 +05:00
nnn
2023-12-19 22:05:20 +05:00
htop
gparted
gnomeExtensions.appindicator
gnomeExtensions.vitals
xclip
firefox
thunderbird
discord
carla
qpwgraph
wireplumber
lutris
wine
winetricks
gamemode
2023-12-19 11:50:00 +05:00
vlc
lollypop
2023-12-19 11:50:00 +05:00
gimp
inkscape
2023-12-20 13:56:49 +05:00
imagemagick
2023-12-19 11:50:00 +05:00
blender
2023-12-19 22:05:20 +05:00
ardour
2023-12-26 15:17:02 +05:00
calf
zynaddsubfx
lsp-plugins
x42-plugins
obs-studio
obs-studio-plugins.obs-vkcapture
obs-studio-plugins.input-overlay
obs-studio-plugins.obs-pipewire-audio-capture
qbittorrent
onlyoffice-bin
anydesk
];
xdg.enable = true;
xdg.mime.enable = true;
home.file.".config/gnupg/gpg-agent.conf".text = ''
default-cache-ttl 3600
pinentry-program ${pkgs.pinentry.gtk2}/bin/pinentry
'';
home.file.".config/git/config".source = "${config.bonfire.configDir}/git/config";
2023-12-15 19:49:42 +05:00
home.file.".config/nvim" = { source = "${config.bonfire.configDir}/nvim"; recursive = true; };
};
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
pinentryFlavor = "curses";
};
2023-12-26 15:17:02 +05:00
environment.variables = let
makePluginPath = name: (lib.makeSearchPath name [
"/etc/profiles/per-user/$USER/lib"
"/run/current-system/sw/lib"
"$HOME/.nix-profile/lib"
]) + ":$HOME/.${name}";
in {
LADSPA_PATH = makePluginPath "ladspa";
LV2_PATH = makePluginPath "lv2";
VST_PATH = makePluginPath "vst";
VST3_PATH = makePluginPath "vst3";
};
# Services
services.spoofdpi.enable = true;
}