nixos-dotfiles/home/seanomik/default.nix

126 lines
3.1 KiB
Nix
Raw Normal View History

{ pkgs, home-manager, unstable, ... }:
{
imports = [
./wireguard.nix
./k8s-tools.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;
2022-10-08 01:34:25 +00:00
remotePlay.openFirewall = true;
};
system.activationScripts.installBetterDiscord =
''
nix run nixpkgs#betterdiscordctl install
'';
home-manager.users.seanomik = { pkgs, ... }: {
2023-02-01 03:19:31 +00:00
home.stateVersion = "22.11";
imports = [
./gnome-dconf.nix
../omz-zsh.nix # oh-my-zsh zsh config
../programs
../emulators.nix
2022-10-04 19:13:47 +00:00
2023-03-09 17:37:12 +00:00
../vscode.nix
# ../vscode-fhs.nix
];
# Add open-in-vscode button to nemo
home = {
2023-02-01 03:19:31 +00:00
file.".local/share/nemo/actions/vscode.nemo_action".source = ../vscode.nemo_action;
2023-02-18 21:11:34 +00:00
# activation = {
# afterWriteBoundary = {
# after = [ "writeBoundary" ];
# before = [ ];
# data = ''
# find ~/.vscode/extensions/ | while read -r path
# do
# $DRY_RUN_CMD chmod --recursive +w \
# "$(readlink --canonicalize "$path")"
# done
# '';
# };
# };
};
2022-10-04 19:13:47 +00:00
# home.programs.git = {
# enable = true;
# userName = "SeanOMik";
# userEmail = "seanomik@gmail.com";
# };
2023-02-01 03:19:31 +00:00
# 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 { })
2023-02-18 21:11:34 +00:00
zip
unzip
rar
minio-client
2023-02-01 03:19:31 +00:00
retroarch
openconnect-sso
vlc
lutris
2023-02-01 03:19:31 +00:00
valgrind
protontricks
2022-10-05 23:38:05 +00:00
# unstable.polymc
# (callPackage ../../modules/pkgs/polymc.nix { })
2023-02-01 03:19:31 +00:00
# polymc
prismlauncher
2022-10-04 19:13:47 +00:00
minecraft
zoom-us
mullvad-vpn
flameshot
obs-studio
2022-10-04 19:13:47 +00:00
#vscode
qbittorrent
okular
libreoffice-fresh-unwrapped
betterdiscordctl
gimp
2022-10-04 19:13:47 +00:00
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
2022-10-04 19:13:47 +00:00
renderdoc
2022-10-08 01:34:25 +00:00
virt-manager
hexchat
kdenlive
2023-02-01 03:19:31 +00:00
aria2
openconnect
];
};
}