Compare commits

..

5 commits

Author SHA1 Message Date
Sean Buckley
bb81bea4b3 rename bck-settings.sh 2024-09-25 19:27:40 -04:00
Sean Buckley
2acf58f520 re-enable vscode python plugin 2024-09-23 14:03:04 -04:00
Sean Buckley
bb0af6f779 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/345c263f2f53a3710abe117f28a5cb86d0ba4059' (2024-09-13)
  → 'github:NixOS/nixpkgs/9357f4f23713673f310988025d9dc261c20e70c6' (2024-09-21)
2024-09-23 13:52:03 -04:00
Sean Buckley
2c7c22a5ef add git glogl alias 2024-09-21 23:53:02 -04:00
Sean Buckley
5c00978ca7 bat: no pager 2024-09-21 20:46:38 -04:00
5 changed files with 9 additions and 8 deletions

View file

@ -17,11 +17,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1726243404, "lastModified": 1726937504,
"narHash": "sha256-sjiGsMh+1cWXb53Tecsm4skyFNag33GPbVgCdfj3n9I=", "narHash": "sha256-bvGoiQBvponpZh8ClUcmJ6QnsNKw0EMrCQJARK3bI1c=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "345c263f2f53a3710abe117f28a5cb86d0ba4059", "rev": "9357f4f23713673f310988025d9dc261c20e70c6",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -48,7 +48,7 @@
'')) ''))
(writeShellScriptBin "bat" '' (writeShellScriptBin "bat" ''
${bat}/bin/bat --color=always --wrap=never --terminal-width=80 "$@" ${bat}/bin/bat --pager=never --color=always --wrap=never --terminal-width=80 "$@"
'') '')
(writeShellScriptBin "hd" '' (writeShellScriptBin "hd" ''
@ -106,6 +106,7 @@
alias.dn = "pull"; alias.dn = "pull";
alias.sh = "show"; alias.sh = "show";
alias.glog = "log --all --decorate --oneline --graph"; alias.glog = "log --all --decorate --oneline --graph";
alias.glogl = "log --all --decorate --oneline --graph -n10";
alias.logl = "log --oneline -n10"; alias.logl = "log --oneline -n10";
alias.vlog = "log --name-status"; alias.vlog = "log --name-status";
core.pager = "less -x1,5"; core.pager = "less -x1,5";

View file

@ -6,14 +6,14 @@
esbenp.prettier-vscode esbenp.prettier-vscode
jnoortheen.nix-ide jnoortheen.nix-ide
ms-azuretools.vscode-docker ms-azuretools.vscode-docker
# ms-python.python # currently broken (2024-09-16) ms-python.python
redhat.vscode-yaml redhat.vscode-yaml
shardulm94.trailing-spaces shardulm94.trailing-spaces
]; ];
}) })
]; ];
environment.etc."my-settings.sh".text = '' environment.etc."bck-settings.sh".text = ''
mkdir -p ~/.config/Code/User mkdir -p ~/.config/Code/User
ln -sf /etc/vscode-settings.json ~/.config/Code/User/settings.json ln -sf /etc/vscode-settings.json ~/.config/Code/User/settings.json
ln -sf /etc/vscode-keybindings.json ~/.config/Code/User/keybindings.json ln -sf /etc/vscode-keybindings.json ~/.config/Code/User/keybindings.json

View file

@ -37,7 +37,7 @@ in
'') '')
]; ];
environment.etc."my-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 gtk-theme 'Adwaita-dark'

View file

@ -24,7 +24,7 @@
systemd.tmpfiles.rules = [ "e /home/sean/Downloads - - - 9d" ]; systemd.tmpfiles.rules = [ "e /home/sean/Downloads - - - 9d" ];
environment.etc."my-settings.sh".text = '' environment.etc."bck-settings.sh".text = ''
git config --global user.email "sean.bck@gmail.com" git config --global user.email "sean.bck@gmail.com"
git config --global user.name "Sean Buckley" git config --global user.name "Sean Buckley"
''; '';