From db62db6d812ccb96ef1f7a68957dd95ec273504c Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Tue, 26 Mar 2024 16:09:25 +0530 Subject: home-manager: gui -> wayland --- flake.nix | 2 +- home-manager/gui/home.nix | 7 ------- home-manager/gui/modules/foot.nix | 13 ------------- home-manager/gui/modules/zathura.nix | 15 --------------- home-manager/wayland/home.nix | 7 +++++++ home-manager/wayland/modules/foot.nix | 13 +++++++++++++ home-manager/wayland/modules/zathura.nix | 15 +++++++++++++++ 7 files changed, 36 insertions(+), 36 deletions(-) delete mode 100644 home-manager/gui/home.nix delete mode 100644 home-manager/gui/modules/foot.nix delete mode 100644 home-manager/gui/modules/zathura.nix create mode 100644 home-manager/wayland/home.nix create mode 100644 home-manager/wayland/modules/foot.nix create mode 100644 home-manager/wayland/modules/zathura.nix diff --git a/flake.nix b/flake.nix index d8f6d7a..01d551b 100644 --- a/flake.nix +++ b/flake.nix @@ -45,7 +45,7 @@ lib.genAttrs [ "cez" "kay" "lia" "fscusat" "dspace" ] (host: makeNixos host "x86_64-linux"); homeConfigurations = - lib.genAttrs [ "common" "gui" ] + lib.genAttrs [ "common" "wayland" ] (host: makeHome host "x86_64-linux"); }; } diff --git a/home-manager/gui/home.nix b/home-manager/gui/home.nix deleted file mode 100644 index 4c8c0e2..0000000 --- a/home-manager/gui/home.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ ... }: { - imports = [ - ../common/home.nix - ./modules/foot.nix - ./modules/zathura.nix - ]; -} diff --git a/home-manager/gui/modules/foot.nix b/home-manager/gui/modules/foot.nix deleted file mode 100644 index 7adaf40..0000000 --- a/home-manager/gui/modules/foot.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ ... }: { - programs.foot = { - enable = true; - - settings = { - colors.background = "000000"; - main = { - pad = "10x10"; - font = "monospace:size=18"; - }; - }; - }; -} diff --git a/home-manager/gui/modules/zathura.nix b/home-manager/gui/modules/zathura.nix deleted file mode 100644 index f7b7e4d..0000000 --- a/home-manager/gui/modules/zathura.nix +++ /dev/null @@ -1,15 +0,0 @@ -{ ... }: { - programs.zathura = { - enable = true; - - mappings = { - "f" = "toggle_fullscreen"; - "[fullscreen] f" = "toggle_fullscreen"; - }; - options = { - "font" = "Sans"; - "statusbar-basename" = true; - "selection-clipboard" = "clipboard"; - }; - }; -} diff --git a/home-manager/wayland/home.nix b/home-manager/wayland/home.nix new file mode 100644 index 0000000..4c8c0e2 --- /dev/null +++ b/home-manager/wayland/home.nix @@ -0,0 +1,7 @@ +{ ... }: { + imports = [ + ../common/home.nix + ./modules/foot.nix + ./modules/zathura.nix + ]; +} diff --git a/home-manager/wayland/modules/foot.nix b/home-manager/wayland/modules/foot.nix new file mode 100644 index 0000000..7adaf40 --- /dev/null +++ b/home-manager/wayland/modules/foot.nix @@ -0,0 +1,13 @@ +{ ... }: { + programs.foot = { + enable = true; + + settings = { + colors.background = "000000"; + main = { + pad = "10x10"; + font = "monospace:size=18"; + }; + }; + }; +} diff --git a/home-manager/wayland/modules/zathura.nix b/home-manager/wayland/modules/zathura.nix new file mode 100644 index 0000000..f7b7e4d --- /dev/null +++ b/home-manager/wayland/modules/zathura.nix @@ -0,0 +1,15 @@ +{ ... }: { + programs.zathura = { + enable = true; + + mappings = { + "f" = "toggle_fullscreen"; + "[fullscreen] f" = "toggle_fullscreen"; + }; + options = { + "font" = "Sans"; + "statusbar-basename" = true; + "selection-clipboard" = "clipboard"; + }; + }; +} -- cgit v1.2.3