nixos-dotfiles/home/seanomik/default.nix

119 lines
3.0 KiB
Nix
Executable File

{ pkgs, home-manager, unstable, ... }:
{
imports = [
./wireguard.nix
];
users.users.seanomik = {
isNormalUser = true;
extraGroups = [ "wheel" "openrazer" "plugdev" "docker" ];
initialPassword = "pw123";
};
environment.systemPackages = with pkgs; [
gcc clang
];
networking.wireguard.enable = true;
services.mullvad-vpn.enable = true;
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
};
home-manager.users.seanomik = { pkgs, ... }: {
home.stateVersion = "22.11";
imports = [
./gnome-dconf.nix
../omz-zsh.nix # oh-my-zsh zsh config
../programs
../emulators.nix
../vscode.nix
];
# Add open-in-vscode button to nemo
home = {
file.".local/share/nemo/actions/vscode.nemo_action".source = ../vscode.nemo_action;
# activation = {
# afterWriteBoundary = {
# after = [ "writeBoundary" ];
# before = [ ];
# data = ''
# find ~/.vscode/extensions/ | while read -r path
# do
# $DRY_RUN_CMD chmod --recursive +w \
# "$(readlink --canonicalize "$path")"
# done
# '';
# };
# };
};
# home.programs.git = {
# enable = true;
# userName = "SeanOMik";
# userEmail = "seanomik@gmail.com";
# };
# pkgs.overlays = [
# (import "${builtins.fetchTarball { url="https://github.com/vlaci/openconnect-sso/archive/master.tar.gz"; sha256="sha256:04kwar7cxz7399bwlka6raqwq5jd27khkjdxk11k08846bkjckx5"; } }/overlay.nix")
# ];
home.packages = let
# pkgs.overlays = [
# (import "${builtins.fetchTarball { url="https://github.com/vlaci/openconnect-sso/archive/master.tar.gz"; sha256="sha256:04kwar7cxz7399bwlka6raqwq5jd27khkjdxk11k08846bkjckx5"; } }/overlay.nix")
# ];
# openconnectOverlay = import "${builtins.fetchTarball https://github.com/vlaci/openconnect-sso/archive/master.tar.gz}/overlay.nix";
# pkgss = import <nixpkgs> { overlays = [ openconnectOverlay ]; };
in with pkgs; [
# with pkgss; [
(callPackage ../../modules/applications/discord.nix { })
zip
unzip
rar
minio-client
retroarch
openconnect-sso
vlc
lutris
valgrind
protontricks
# unstable.polymc
# (callPackage ../../modules/pkgs/polymc.nix { })
# polymc
prismlauncher
minecraft
zoom-us
mullvad-vpn
flameshot
obs-studio
#vscode
qbittorrent
okular
libreoffice-fresh-unwrapped
betterdiscordctl
gimp
blender
slack
google-chrome
(callPackage ../../modules/pkgs/upwork.nix { inherit runCommandLocal; })
(libsForQt5.callPackage ../../modules/pkgs/jellyfin-media-player.nix { })
(callPackage ../../modules/pkgs/ytmdesktop.nix { })
jetbrains.idea-community
renderdoc
virt-manager
hexchat
kdenlive
aria2
openconnect
];
};
}