mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
Compare commits
4 commits
16ea3ccd34
...
70335149b6
Author | SHA1 | Date | |
---|---|---|---|
|
70335149b6 | ||
|
ba49cddf03 | ||
|
e30c861367 | ||
|
b4f956473c |
4 changed files with 37 additions and 19 deletions
|
@ -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";
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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']"
|
||||
|
|
Loading…
Reference in a new issue