summary refs log tree commit diff
path: root/mixins
diff options
context:
space:
mode:
Diffstat (limited to 'mixins')
-rw-r--r--mixins/cli.nix7
-rw-r--r--mixins/greet.nix2
-rw-r--r--mixins/multimedia.nix17
-rw-r--r--mixins/sway.nix2
4 files changed, 26 insertions, 2 deletions
diff --git a/mixins/cli.nix b/mixins/cli.nix
index 61153d3..0d82ed1 100644
--- a/mixins/cli.nix
+++ b/mixins/cli.nix
@@ -15,6 +15,8 @@
           rsync
           curl
           ripgrep
+          bat
+          croc
         ];
       };
       programs = {
@@ -24,11 +26,16 @@
           userEmail = "tzlils@protonmail.com";
           enable = true;
         };
+        direnv = {
+          enable = true;
+          nix-direnv.enable = true;
+        };
         fish = {
           enable = true;
           shellAliases = {
             gc = "git clone";
             l = "ls -alh";
+            b = "bat";
           };
           functions = {
             sb.body = "nixos-rebuild build --flake git+ssh://pc/home/tzlil/newflake --use-remote-sudo";
diff --git a/mixins/greet.nix b/mixins/greet.nix
index e345d91..0006eaf 100644
--- a/mixins/greet.nix
+++ b/mixins/greet.nix
@@ -9,7 +9,7 @@
   users.users.greeter.packages = [pkgs.sway];
   greet = "${pkgs.greetd.wlgreet}/bin/wlgreet";
 
-  sway-kiosk = command: "${pkgs.sway}/bin/sway --unsupported-gpu --config ${pkgs.writeText "kiosk.config" ''
+  sway-kiosk = command: "env WLR_RENDERER=pixman ${pkgs.sway}/bin/sway --unsupported-gpu --config ${pkgs.writeText "kiosk.config" ''
     output * bg #000000 solid_color
     exec "${command}; ${pkgs.sway}/bin/swaymsg exit"
   ''}";
diff --git a/mixins/multimedia.nix b/mixins/multimedia.nix
new file mode 100644
index 0000000..a814213
--- /dev/null
+++ b/mixins/multimedia.nix
@@ -0,0 +1,17 @@
+{ pkgs, lib, config, inputs, ... }:
+
+{
+  config = {
+    home-manager.users.tzlil = {...}: {
+      fonts.fontconfig.enable = true;
+
+      home.packages = with pkgs; [
+        mpv
+        zathura
+        ffmpeg
+        gimp
+        transmission
+      ];
+    };
+  };
+}
\ No newline at end of file
diff --git a/mixins/sway.nix b/mixins/sway.nix
index 7ff601a..7b99b2c 100644
--- a/mixins/sway.nix
+++ b/mixins/sway.nix
@@ -236,7 +236,7 @@ in {
           hide_edge_borders smart
           smart_borders on
 
-          output * bg ~/tmp/graveyard.png fill
+          # output * bg ~/tmp/graveyard.png fill