nixos-dotfiles/home/seanomik/default.nix

174 lines
4.5 KiB
Nix
Raw Normal View History

2024-05-05 18:53:09 +00:00
{ pkgs, home-manager, unstable, config, SystemConfiguration, ... }:
{
imports = [
./wireguard.nix
./k8s-tools.nix
];
users.users.seanomik = {
isNormalUser = true;
2024-05-05 18:53:09 +00:00
shell = pkgs.fish;
extraGroups = [ "wheel" "openrazer" "plugdev" "docker" "networkmanager" "libvirtd" ];
initialPassword = "pw123";
};
environment.systemPackages = with pkgs; [
gcc clang
];
2024-05-05 18:53:09 +00:00
# networking.wireguard.enable = true;
# services.mullvad-vpn.enable = true;
programs.steam = {
enable = true;
2022-10-08 01:34:25 +00:00
remotePlay.openFirewall = true;
2024-05-05 18:53:09 +00:00
#dedicatedServer.openFirewall = true;
};
home-manager.users.seanomik = { pkgs, ... }: {
2024-05-05 18:53:09 +00:00
home.stateVersion = "23.11";
2023-02-01 03:19:31 +00:00
imports = [
./gnome-dconf.nix
../programs
2024-05-05 18:53:09 +00:00
../fish.nix
# ../firefox.nix
../emulators.nix
2022-10-04 19:13:47 +00:00
2024-05-05 18:53:09 +00:00
../vscode-fhs.nix
../betterdiscord-plugins.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
2024-05-05 18:53:09 +00:00
activation = {
installBetterDiscord = {
after = [ "writeBoundary" ];
before = [ ];
data = ''
${pkgs.betterdiscordctl}/bin/betterdiscordctl install > /tmp/betterdiscord-install.txt || true
'';
};
defaultApplications = {
after = [ "writeBoundary" ];
before = [ ];
data = ''
${pkgs.xdg-utils}/bin/xdg-mime default nemo.desktop inode/directory
${pkgs.glib}/bin/gsettings set org.gnome.desktop.default-applications.terminal exec alacritty
'';
};
};
};
programs.vim = {
enable = true;
settings = {
mouse = "v";
};
};
2024-05-05 18:53:09 +00:00
programs.git = {
enable = true;
userName = "SeanOMik";
userEmail = "seanomik@gmail.com";
signing = {
signByDefault = true;
key = "BD1AAF9D8170F4BEE437365FF6F0933799CFEBCD";
};
aliases = {
lg1 = "log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)' --all";
lg2 = "log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'";
lg = "lg1";
s = "status";
};
extraConfig = {
core.editor = "${pkgs.vim}/bin/vim";
init.defaultBranch = "main";
};
};
2022-10-04 19:13:47 +00:00
2024-05-05 18:53:09 +00:00
programs.direnv = {
enable = true;
enableBashIntegration = true;
enableZshIntegration = true;
# readOnly but defaults to true
# enableFishIntegration = true;
};
2023-02-01 03:19:31 +00:00
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; [
(callPackage ../../modules/applications/discord.nix { })
2023-02-18 21:11:34 +00:00
zip
unzip
rar
minio-client
2024-05-05 18:53:09 +00:00
# openconnect-sso
vlc
lutris
2023-02-01 03:19:31 +00:00
valgrind
protontricks
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
qbittorrent
okular
2024-05-05 18:53:09 +00:00
libreoffice
betterdiscordctl
gimp
2022-10-04 19:13:47 +00:00
blender
slack
google-chrome
2024-05-05 18:53:09 +00:00
# (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
2024-05-05 18:53:09 +00:00
github-desktop
direnv
cargo-flamegraph
protonup-qt
unstable.trilium-desktop
ouch
zoxide
fzf
plex-media-player
plexamp
chiaki
tracy
helvum
audacity
gittyup
lapce
yubikey-manager
yubikey-manager-qt
yubikey-touch-detector
yubikey-personalization-gui
unstable.protonvpn-gui
unstable.networkmanagerapplet
unstable.gnome.networkmanager-openvpn
# zed.dev whenever its linux support is better
2023-02-01 03:19:31 +00:00
openconnect
2024-05-05 18:53:09 +00:00
go-task
];
};
}