Compare commits

..

No commits in common. "70335149b62d7ab2b10390eab17426a6139cf605" and "16ea3ccd349601cba4feef100536fb32de8296b5" have entirely different histories.

4 changed files with 19 additions and 37 deletions

View file

@ -19,24 +19,7 @@
];
};
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"
];
nixpkgs.config.allowUnfree = true;
security.sudo.extraConfig = "Defaults lecture=never";

View file

@ -20,6 +20,7 @@
nix-diff
nixfmt-rfc-style
nix-index
nix-prefetch-github
nodejs
openssl
parted
@ -103,6 +104,22 @@
);
};
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,14 +16,12 @@ 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
@ -48,21 +46,5 @@ 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,6 +45,7 @@ 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
@ -54,7 +55,6 @@ 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']"