From 61a06724bc39e94da259efba3693857bae21949f Mon Sep 17 00:00:00 2001 From: tzlil Date: Sat, 12 Aug 2023 22:36:08 +0300 Subject: add pragmata and py and uhhhhh --- mixins/cli.nix | 7 +++++++ mixins/multimedia.nix | 1 - mixins/sway.nix | 10 +++++----- 3 files changed, 12 insertions(+), 6 deletions(-) (limited to 'mixins') diff --git a/mixins/cli.nix b/mixins/cli.nix index 6c784eb..abc2650 100644 --- a/mixins/cli.nix +++ b/mixins/cli.nix @@ -17,8 +17,12 @@ curl ripgrep bat + + # p2p file transfer croc + nix-output-monitor + # crap i need in my shell for general usage, mostly data science (pkgs.python3.withPackages (ps: with ps; [ @@ -66,6 +70,7 @@ enable = true; shellAliases = { gc = "git clone"; + gs = "git status"; l = "ls -alh"; b = "bat"; }; @@ -78,6 +83,8 @@ end nix shell $p ''; + tmp = "cd (mktemp -d --suffix -$argv[1])"; + py = ''python -c "print(eval(\"\"\"$argv\"\"\"))"''; # fish_command_not_found = "nix shell nixpkgs#(command-not-found $argv[1] &| sed -nr 's/.*-p (.*)$/\\1/p' | ${lib.getExe pkgs.fzf} || return 0) -c $argv[1]"; }; }; diff --git a/mixins/multimedia.nix b/mixins/multimedia.nix index 123037c..11a48d5 100644 --- a/mixins/multimedia.nix +++ b/mixins/multimedia.nix @@ -6,7 +6,6 @@ ... }: { home-manager.users.tzlil = { - fonts.fontconfig.enable = true; home.packages = with pkgs; [ ffmpeg gimp diff --git a/mixins/sway.nix b/mixins/sway.nix index 28e21d9..e588531 100644 --- a/mixins/sway.nix +++ b/mixins/sway.nix @@ -83,12 +83,12 @@ in { enable = true; server.enable = true; settings = { - # main = { - # term = "xterm-256color"; + main = { + # term = "xterm-256color"; - # font = "Fira Code:size=11"; - # dpi-aware = "yes"; - # }; + # font = "Fira Code:size=11"; + dpi-aware = "yes"; + }; colors = { background = "000000"; -- cgit 1.4.1