summary refs log tree commit diff stats
path: root/hm/river/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hm/river/default.nix49
1 files changed, 0 insertions, 49 deletions
diff --git a/hm/river/default.nix b/hm/river/default.nix
deleted file mode 100644
index 07fc5ec..0000000
--- a/hm/river/default.nix
+++ /dev/null
@@ -1,49 +0,0 @@
-{
-  pkgs,
-  sysLib,
-  river_init_lesser,
-  nixosConfig,
-  system,
-  ...
-}: let
-  inherit (nixosConfig.networking) hostName;
-  mappings = ''
-    err_fail riverctl keyboard-layout 'de'
-    err_fail river_init_lesser ~/.config/river/res/keys.ron
-  '';
-
-  screen_setup = ''
-    #err_fail wlr-randr --output Virtual-1 --mode 1920x1080
-  '';
-  init_scr = pkgs.substituteAll {
-    src = ./init;
-    inherit mappings screen_setup;
-  };
-in {
-  xdg.configFile."river/init".source =
-    sysLib.writeShellScriptWithLibraryAndKeepPath {
-      name = "river_init";
-      script = init_scr;
-      dependencies = builtins.attrValues {
-        river_init_lesser = river_init_lesser.packages.${system}.default;
-        inherit
-          (pkgs)
-          dash
-          river
-          gammastep
-          wlr-randr
-          yambar
-          mako
-          swaybg
-          swayidle
-          swaylock
-          alacritty
-          ;
-      };
-    }
-    + /bin/river_init;
-
-  xdg.configFile."river/res".source = ./res;
-}
-# vim: ts=2
-