mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
Compare commits
No commits in common. "70335149b62d7ab2b10390eab17426a6139cf605" and "16ea3ccd349601cba4feef100536fb32de8296b5" have entirely different histories.
70335149b6
...
16ea3ccd34
4 changed files with 19 additions and 37 deletions
|
@ -19,24 +19,7 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.config.allowUnfreePredicate =
|
nixpkgs.config.allowUnfree = true;
|
||||||
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";
|
security.sudo.extraConfig = "Defaults lecture=never";
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
nix-diff
|
nix-diff
|
||||||
nixfmt-rfc-style
|
nixfmt-rfc-style
|
||||||
nix-index
|
nix-index
|
||||||
|
nix-prefetch-github
|
||||||
nodejs
|
nodejs
|
||||||
openssl
|
openssl
|
||||||
parted
|
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 = {
|
programs.tmux = {
|
||||||
enable = true;
|
enable = true;
|
||||||
terminal = "screen-256color";
|
terminal = "screen-256color";
|
||||||
|
|
|
@ -16,14 +16,12 @@ in
|
||||||
cargo
|
cargo
|
||||||
efm-langserver
|
efm-langserver
|
||||||
errcheck
|
errcheck
|
||||||
gh
|
|
||||||
go
|
go
|
||||||
gopls
|
gopls
|
||||||
kubectl
|
kubectl
|
||||||
kubernetes-helm
|
kubernetes-helm
|
||||||
lua-language-server
|
lua-language-server
|
||||||
nil
|
nil
|
||||||
nix-prefetch-github
|
|
||||||
nodePackages.prettier
|
nodePackages.prettier
|
||||||
nodePackages.typescript-language-server
|
nodePackages.typescript-language-server
|
||||||
pyright
|
pyright
|
||||||
|
@ -48,21 +46,5 @@ in
|
||||||
source <(kubectl completion bash)
|
source <(kubectl completion bash)
|
||||||
complete -F __start_kubectl k
|
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,6 +45,7 @@ in
|
||||||
environment.etc."bck-settings.sh".text = ''
|
environment.etc."bck-settings.sh".text = ''
|
||||||
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
|
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 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 monospace-font-name 'Monospace 12'
|
||||||
gsettings set org.gnome.desktop.interface show-battery-percentage true
|
gsettings set org.gnome.desktop.interface show-battery-percentage true
|
||||||
gsettings set org.gnome.desktop.media-handling automount false
|
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.privacy remove-old-trash-files true
|
||||||
gsettings set org.gnome.desktop.search-providers disabled "['org.gnome.Epiphany.desktop']"
|
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-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 "['<Super>Tab']"
|
||||||
gsettings set org.gnome.desktop.wm.keybindings switch-applications-backward "['<Shift><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']"
|
gsettings set org.gnome.desktop.wm.keybindings switch-windows "['<Alt>Tab']"
|
||||||
|
|
Loading…
Reference in a new issue