2024-05-05 18:53:09 +00:00
|
|
|
{ pkgs, home-manager, unstable, config, SystemConfiguration, ... }:
|
2022-09-14 03:53:30 +00:00
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./wireguard.nix
|
2023-04-26 01:25:22 +00:00
|
|
|
./k8s-tools.nix
|
2022-09-14 03:53:30 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
users.users.seanomik = {
|
|
|
|
isNormalUser = true;
|
2024-05-05 18:53:09 +00:00
|
|
|
shell = pkgs.fish;
|
|
|
|
extraGroups = [ "wheel" "openrazer" "plugdev" "docker" "networkmanager" "libvirtd" ];
|
2022-09-14 03:53:30 +00:00
|
|
|
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;
|
2022-09-14 03:53:30 +00:00
|
|
|
|
|
|
|
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;
|
2022-09-14 03:53:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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
|
|
|
|
2022-09-14 03:53:30 +00:00
|
|
|
imports = [
|
|
|
|
./gnome-dconf.nix
|
|
|
|
../programs
|
2024-05-05 18:53:09 +00:00
|
|
|
../fish.nix
|
|
|
|
# ../firefox.nix
|
2022-09-14 03:53:30 +00:00
|
|
|
|
|
|
|
../emulators.nix
|
2022-10-04 19:13:47 +00:00
|
|
|
|
2024-05-05 18:53:09 +00:00
|
|
|
../vscode-fhs.nix
|
|
|
|
|
|
|
|
../betterdiscord-plugins.nix
|
2022-09-14 03:53:30 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# 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";
|
|
|
|
};
|
2022-09-14 03:53:30 +00:00
|
|
|
};
|
|
|
|
|
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; [
|
2022-09-14 03:53:30 +00:00
|
|
|
(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
|
2022-09-14 03:53:30 +00:00
|
|
|
vlc
|
|
|
|
lutris
|
2023-02-01 03:19:31 +00:00
|
|
|
valgrind
|
|
|
|
protontricks
|
|
|
|
prismlauncher
|
2022-10-04 19:13:47 +00:00
|
|
|
minecraft
|
2022-09-14 03:53:30 +00:00
|
|
|
zoom-us
|
|
|
|
mullvad-vpn
|
|
|
|
flameshot
|
|
|
|
obs-studio
|
2022-10-04 19:13:47 +00:00
|
|
|
qbittorrent
|
2022-09-14 03:53:30 +00:00
|
|
|
okular
|
2024-05-05 18:53:09 +00:00
|
|
|
libreoffice
|
2022-09-14 03:53:30 +00:00
|
|
|
betterdiscordctl
|
|
|
|
gimp
|
2022-10-04 19:13:47 +00:00
|
|
|
blender
|
2022-09-14 03:53:30 +00:00
|
|
|
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
|
2022-10-21 22:51:27 +00:00
|
|
|
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
|
2022-09-14 03:53:30 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|