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";
|
security.sudo.extraConfig = "Defaults lecture=never";
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
nix-diff
|
nix-diff
|
||||||
nixfmt-rfc-style
|
nixfmt-rfc-style
|
||||||
nix-index
|
nix-index
|
||||||
nix-prefetch-github
|
|
||||||
nodejs
|
nodejs
|
||||||
openssl
|
openssl
|
||||||
parted
|
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 = {
|
programs.tmux = {
|
||||||
enable = true;
|
enable = true;
|
||||||
terminal = "screen-256color";
|
terminal = "screen-256color";
|
||||||
|
|
|
@ -16,12 +16,14 @@ 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
|
||||||
|
@ -46,5 +48,21 @@ 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,7 +45,6 @@ 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
|
||||||
|
@ -55,6 +54,7 @@ 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