diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-09-11 17:40:08 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-09-14 22:20:52 +0200 |
commit | 004d54e9fe6880edabcf18cb0ae7c9a86bb28e85 (patch) | |
tree | 133e4748410224ffe2f0db4016a36da633a073dd /hosts | |
parent | Xlock: Respect dpms off screen (diff) | |
download | nixos-config-004d54e9fe6880edabcf18cb0ae7c9a86bb28e85.tar.gz nixos-config-004d54e9fe6880edabcf18cb0ae7c9a86bb28e85.tar.bz2 nixos-config-004d54e9fe6880edabcf18cb0ae7c9a86bb28e85.zip |
Implement initial wayland support
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/configuration.nix | 8 | ||||
-rw-r--r-- | hosts/home.nix | 18 |
2 files changed, 23 insertions, 3 deletions
diff --git a/hosts/configuration.nix b/hosts/configuration.nix index d9215d9..e9721b6 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -66,6 +66,8 @@ TERMINAL = "st"; EDITOR = "nvim"; VISUAL = "nvim"; + + XKB_DEFAULT_LAYOUT = "gb"; }; environment.sessionVariables = rec { @@ -110,6 +112,11 @@ # started in user sessions. # programs.mtr.enable = true; + xdg.portal = { + enable = true; + wlr.enable = true; + }; + # List services that you want to enable: services = { openssh = { @@ -119,6 +126,7 @@ port = 2222; }]; }; + dbus.enable = true; irqbalance.enable = true; fwupd.enable = true; }; 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"; + } |