mirror of
https://github.com/nmasur/dotfiles
synced 2025-04-24 12:42:24 +00:00
Compare commits
No commits in common. "7bd21254384824547a49f0dbdb181491b4174186" and "22885f1b27ec274b206980e7f0a606a4e3b25b42" have entirely different histories.
7bd2125438
...
22885f1b27
@ -65,10 +65,7 @@
|
|||||||
in {
|
in {
|
||||||
|
|
||||||
# Enable features in Nix commands
|
# Enable features in Nix commands
|
||||||
nix.extraOptions = ''
|
nix.extraOptions = "experimental-features = nix-command flakes";
|
||||||
experimental-features = nix-command flakes
|
|
||||||
warn-dirty = false
|
|
||||||
'';
|
|
||||||
|
|
||||||
# Basic common system packages for all devices
|
# Basic common system packages for all devices
|
||||||
environment.systemPackages = with pkgs; [ git vim wget curl ];
|
environment.systemPackages = with pkgs; [ git vim wget curl ];
|
||||||
|
@ -65,9 +65,6 @@
|
|||||||
# Window
|
# Window
|
||||||
window_padding_width = 4;
|
window_padding_width = 4;
|
||||||
|
|
||||||
tab_bar_edge = "top";
|
|
||||||
tab_bar_style = "slant";
|
|
||||||
|
|
||||||
# macos_traditional_fullscreen = true;
|
# macos_traditional_fullscreen = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -7,11 +7,10 @@
|
|||||||
home-manager.users.${config.user} = {
|
home-manager.users.${config.user} = {
|
||||||
|
|
||||||
# Packages used in abbreviations and aliases
|
# Packages used in abbreviations and aliases
|
||||||
home.packages = with pkgs; [ curl exa ];
|
home.packages = with pkgs; [ curl ];
|
||||||
|
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
shellAliases = { ls = "exa"; };
|
|
||||||
functions = {
|
functions = {
|
||||||
commandline-git-commits = {
|
commandline-git-commits = {
|
||||||
description = "Insert commit into commandline";
|
description = "Insert commit into commandline";
|
||||||
@ -42,6 +41,7 @@
|
|||||||
description = "Tidy up JSON using jq";
|
description = "Tidy up JSON using jq";
|
||||||
body = "pbpaste | jq '.' | pbcopy"; # Need to fix for non-macOS
|
body = "pbpaste | jq '.' | pbcopy"; # Need to fix for non-macOS
|
||||||
};
|
};
|
||||||
|
ls = { body = "${pkgs.exa}/bin/exa $argv"; };
|
||||||
note = {
|
note = {
|
||||||
description = "Edit or create a note";
|
description = "Edit or create a note";
|
||||||
argumentNames = "filename";
|
argumentNames = "filename";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user