174 lines
4.5 KiB
Nix
174 lines
4.5 KiB
Nix
{ pkgs, home-manager, unstable, config, SystemConfiguration, ... }:
|
|
{
|
|
imports = [
|
|
./wireguard.nix
|
|
./k8s-tools.nix
|
|
];
|
|
|
|
users.users.seanomik = {
|
|
isNormalUser = true;
|
|
shell = pkgs.fish;
|
|
extraGroups = [ "wheel" "openrazer" "plugdev" "docker" "networkmanager" "libvirtd" ];
|
|
initialPassword = "pw123";
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
gcc clang
|
|
];
|
|
|
|
# networking.wireguard.enable = true;
|
|
# services.mullvad-vpn.enable = true;
|
|
|
|
programs.steam = {
|
|
enable = true;
|
|
remotePlay.openFirewall = true;
|
|
#dedicatedServer.openFirewall = true;
|
|
};
|
|
|
|
home-manager.users.seanomik = { pkgs, ... }: {
|
|
home.stateVersion = "23.11";
|
|
|
|
imports = [
|
|
./gnome-dconf.nix
|
|
../programs
|
|
../fish.nix
|
|
# ../firefox.nix
|
|
|
|
../emulators.nix
|
|
|
|
../vscode-fhs.nix
|
|
|
|
../betterdiscord-plugins.nix
|
|
];
|
|
|
|
# Add open-in-vscode button to nemo
|
|
home = {
|
|
file.".local/share/nemo/actions/vscode.nemo_action".source = ../vscode.nemo_action;
|
|
|
|
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";
|
|
};
|
|
};
|
|
|
|
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";
|
|
};
|
|
};
|
|
|
|
programs.direnv = {
|
|
enable = true;
|
|
|
|
enableBashIntegration = true;
|
|
enableZshIntegration = true;
|
|
# readOnly but defaults to true
|
|
# enableFishIntegration = true;
|
|
};
|
|
|
|
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 { })
|
|
zip
|
|
unzip
|
|
rar
|
|
minio-client
|
|
# openconnect-sso
|
|
vlc
|
|
lutris
|
|
valgrind
|
|
protontricks
|
|
prismlauncher
|
|
minecraft
|
|
zoom-us
|
|
mullvad-vpn
|
|
flameshot
|
|
obs-studio
|
|
qbittorrent
|
|
okular
|
|
libreoffice
|
|
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
|
|
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
|
|
openconnect
|
|
|
|
go-task
|
|
];
|
|
};
|
|
}
|