bonfire/nixosConfigurations/astora/users.nix

141 lines
3.3 KiB
Nix
Raw Normal View History

2024-01-19 20:00:05 +05:00
{ config, pkgs, lib, inputs, self, ... }:
{
# Users
2024-04-24 14:26:24 +05:00
users.users.l-nafaryus = {
isNormalUser = true;
description = "L-Nafaryus";
extraGroups = [ "networkmanager" "wheel" "audio" ];
group = "users";
uid = 1000;
initialPassword = "nixos";
shell = pkgs.fish;
};
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
bonfire.enable = true;
2024-04-24 14:26:24 +05:00
home-manager.users.l-nafaryus = { pkgs, ... }: {
home.stateVersion = "23.11";
2024-04-24 14:26:24 +05:00
home.username = "l-nafaryus";
home.homeDirectory = "/home/l-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
2024-03-01 01:08:40 +05:00
pass
taskwarrior
2024-04-03 22:25:28 +05:00
tmux
gparted
gnomeExtensions.appindicator
gnomeExtensions.vitals
xclip
firefox
thunderbird
discord
pipewire.jack # pw-jack
carla
qpwgraph
wireplumber
yabridge
yabridgectl
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
2024-03-01 01:08:40 +05:00
olive-editor
openshot-qt
musescore
2024-04-24 14:26:24 +05:00
# soundux # unmaintained
2024-03-14 11:20:58 +05:00
losslesscut-bin
yt-dlp
2024-04-03 22:25:28 +05:00
ffmpeg
2023-12-26 15:17:02 +05:00
calf
zynaddsubfx
lsp-plugins
x42-plugins
2024-03-14 11:20:58 +05:00
cardinal
gxplugins-lv2
xtuner
2024-03-18 12:37:03 +05:00
aether-lv2
obs-studio
obs-studio-plugins.obs-vkcapture
obs-studio-plugins.input-overlay
obs-studio-plugins.obs-pipewire-audio-capture
qbittorrent
2024-04-03 22:25:28 +05:00
transmission-qt
onlyoffice-bin
2024-01-19 20:00:05 +05:00
jdk
self.packages.${pkgs.system}.ultimmc
2024-03-18 12:37:03 +05:00
liberation_ttf
2024-04-23 14:28:34 +05:00
steamtinkerlaunch
];
2024-04-24 14:26:24 +05:00
xdg = {
enable = true;
mime.enable = true;
};
home.file = {
".config/gnupg/gpg-agent.conf".text = ''
default-cache-ttl 3600
pinentry-program ${pkgs.pinentry.gtk2}/bin/pinentry
'';
".config/git/config".source = "${config.bonfire.configDir}/git/config";
".config/nvim" = {
source = "${config.bonfire.configDir}/nvim";
recursive = true;
};
};
};
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
2024-04-23 14:28:34 +05:00
pinentryPackage = pkgs.pinentry-gnome3;
};
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";
};
2024-04-23 14:28:34 +05:00
systemd.user.extraConfig = "DefaultLimitNOFILE=524288";
2023-12-26 15:17:02 +05:00
# Services
services.spoofdpi.enable = true;
}