about summary refs log tree commit diff
path: root/hosts/home.nix
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-09-11 17:40:08 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-09-14 22:20:52 +0200
commit004d54e9fe6880edabcf18cb0ae7c9a86bb28e85 (patch)
tree133e4748410224ffe2f0db4016a36da633a073dd /hosts/home.nix
parentXlock: Respect dpms off screen (diff)
downloadnixos-config-004d54e9fe6880edabcf18cb0ae7c9a86bb28e85.tar.gz
nixos-config-004d54e9fe6880edabcf18cb0ae7c9a86bb28e85.tar.bz2
nixos-config-004d54e9fe6880edabcf18cb0ae7c9a86bb28e85.zip
Implement initial wayland support
Diffstat (limited to 'hosts/home.nix')
-rw-r--r--hosts/home.nix18
1 files changed, 15 insertions, 3 deletions
diff --git a/hosts/home.nix b/hosts/home.nix
index 8ec1aa0..b3057cb 100644
--- a/hosts/home.nix
+++ b/hosts/home.nix
@@ -36,6 +36,12 @@
       manga-cli
       mov-cli
       smart-wallpaper
+      waybar
+      wl-clipboard
+      sway
+      swaybg
+      river
+      wlr-randr
     ] ++
     (with pkgs.custom; [
       lemacs
@@ -48,9 +54,11 @@
     config = "${inputs.dotfiles}/xmonad.hs";
   };
 
-  programs.xmobar = {
-    enable = true;
-    extraConfig = builtins.readFile "${inputs.dotfiles}/xmobar.hs";
+  programs = {
+    xmobar = {
+      enable = true;
+      extraConfig = builtins.readFile "${inputs.dotfiles}/xmobar.hs";
+    };
   };
 
   home.sessionVariables = {
@@ -258,6 +266,9 @@
   };
 
   xdg = {
+    configFile."sway/config".source = "${inputs.dotfiles}/sway_config";
+    configFile."river/".source = "${inputs.dotfiles}/river/";
+    configFile."waybar/".source = "${inputs.dotfiles}/waybar/";
     configFile."zathura/zathurarc".source = "${inputs.dotfiles}/zathurarc";
     configFile."dunst/dunstrc".source = "${inputs.dotfiles}/dunstrc";
   };
@@ -277,4 +288,5 @@
   xdg.userDirs.desktop = "$HOME/";
 
   home.stateVersion = "22.05";
+
 }