Compare commits

...

4 commits

Author SHA1 Message Date
Sean Buckley
70335149b6 enumerate unfree packages 2024-12-06 12:57:59 -05:00
Sean Buckley
ba49cddf03 fix gtk theme 2024-12-06 12:49:34 -05:00
Sean Buckley
e30c861367 add maximize-horizontally key 2024-12-06 12:43:53 -05:00
Sean Buckley
b4f956473c move git from cli to devtools & add gh 2024-12-05 17:33:21 -05:00
4 changed files with 37 additions and 19 deletions

View file

@ -19,7 +19,24 @@
];
};
nixpkgs.config.allowUnfree = true;
nixpkgs.config.allowUnfreePredicate =
pkg:
# builtins.trace "unfree: ${lib.getName pkg}" (
builtins.elem (lib.getName pkg) [
"cuda_cudart"
"libcublas"
"cuda_cccl"
"cuda_nvcc"
"nvidia-x11"
"vscode-with-extensions"
"vscode"
"burpsuite"
"terraform"
"discord"
"steam"
"steam-unwrapped"
"nvidia-settings"
];
security.sudo.extraConfig = "Defaults lecture=never";

View file

@ -20,7 +20,6 @@
nix-diff
nixfmt-rfc-style
nix-index
nix-prefetch-github
nodejs
openssl
parted
@ -104,22 +103,6 @@
);
};
programs.git = {
enable = true;
config = {
alias.up = "push";
alias.dn = "pull";
alias.sh = "show";
alias.glog = "log --all --decorate --oneline --graph";
alias.glogl = "log --all --decorate --oneline --graph -n10";
alias.logl = "log --oneline -n10";
alias.vlog = "log --name-status";
core.pager = "less -x1,5";
pull.ff = "only";
init.defaultBranch = "main";
};
};
programs.tmux = {
enable = true;
terminal = "screen-256color";

View file

@ -16,12 +16,14 @@ in
cargo
efm-langserver
errcheck
gh
go
gopls
kubectl
kubernetes-helm
lua-language-server
nil
nix-prefetch-github
nodePackages.prettier
nodePackages.typescript-language-server
pyright
@ -46,5 +48,21 @@ in
source <(kubectl completion bash)
complete -F __start_kubectl k
'';
programs.git = {
enable = true;
config = {
alias.up = "push";
alias.dn = "pull";
alias.sh = "show";
alias.glog = "log --all --decorate --oneline --graph";
alias.glogl = "log --all --decorate --oneline --graph -n10";
alias.logl = "log --oneline -n10";
alias.vlog = "log --name-status";
core.pager = "less -x1,5";
pull.ff = "only";
init.defaultBranch = "main";
};
};
};
}

View file

@ -45,7 +45,6 @@ in
environment.etc."bck-settings.sh".text = ''
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
gsettings set org.gnome.desktop.interface enable-hot-corners false
gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark'
gsettings set org.gnome.desktop.interface monospace-font-name 'Monospace 12'
gsettings set org.gnome.desktop.interface show-battery-percentage true
gsettings set org.gnome.desktop.media-handling automount false
@ -55,6 +54,7 @@ in
gsettings set org.gnome.desktop.privacy remove-old-trash-files true
gsettings set org.gnome.desktop.search-providers disabled "['org.gnome.Epiphany.desktop']"
gsettings set org.gnome.desktop.wm.keybindings maximize-vertically "['<Super>w']"
gsettings set org.gnome.desktop.wm.keybindings maximize-horizontally "['<Super>q']"
gsettings set org.gnome.desktop.wm.keybindings switch-applications "['<Super>Tab']"
gsettings set org.gnome.desktop.wm.keybindings switch-applications-backward "['<Shift><Super>Tab']"
gsettings set org.gnome.desktop.wm.keybindings switch-windows "['<Alt>Tab']"