From 3fc51de5171feb362b8373273c3e82de2a70e076 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Tue, 30 Apr 2024 21:23:53 +0530 Subject: home: home-manager -> home --- home-manager/cez/home.nix | 12 ------------ home-manager/common/home.nix | 13 ------------- home-manager/common/modules/git.nix | 15 --------------- home-manager/wayland/home.nix | 8 -------- home-manager/wayland/modules/foot.nix | 13 ------------- home-manager/wayland/modules/mako.nix | 9 --------- home-manager/wayland/modules/zathura.nix | 15 --------------- 7 files changed, 85 deletions(-) delete mode 100644 home-manager/cez/home.nix delete mode 100644 home-manager/common/home.nix delete mode 100644 home-manager/common/modules/git.nix delete mode 100644 home-manager/wayland/home.nix delete mode 100644 home-manager/wayland/modules/foot.nix delete mode 100644 home-manager/wayland/modules/mako.nix delete mode 100644 home-manager/wayland/modules/zathura.nix (limited to 'home-manager') diff --git a/home-manager/cez/home.nix b/home-manager/cez/home.nix deleted file mode 100644 index a11c07d..0000000 --- a/home-manager/cez/home.nix +++ /dev/null @@ -1,12 +0,0 @@ -{ ... }: let - font = "Sans 13"; - monoFont = "monospace:size=18"; -in { - imports = [ ../wayland/home.nix ]; - - services.mako.font = font; - programs = { - zathura.options.font = font; - foot.settings.main.font = monoFont; - }; -} diff --git a/home-manager/common/home.nix b/home-manager/common/home.nix deleted file mode 100644 index 8ec0757..0000000 --- a/home-manager/common/home.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ config, ... }: let - username = config.userdata.name; -in { - imports = [ ./modules/git.nix ]; - - programs.home-manager.enable = true; - - home = { - inherit username; - stateVersion = "23.11"; - homeDirectory = "/home/${config.home.username}"; - }; -} diff --git a/home-manager/common/modules/git.nix b/home-manager/common/modules/git.nix deleted file mode 100644 index 7337f7b..0000000 --- a/home-manager/common/modules/git.nix +++ /dev/null @@ -1,15 +0,0 @@ -{ config, ... }: let - userName = config.userdata.nameFq; - userEmail = config.userdata.email; -in { - programs.git = { - enable = true; - inherit userName; - inherit userEmail; - - extraConfig = { - color.ui = "auto"; - init.defaultBranch = "master"; - }; - }; -} diff --git a/home-manager/wayland/home.nix b/home-manager/wayland/home.nix deleted file mode 100644 index 9e3f4ad..0000000 --- a/home-manager/wayland/home.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ ... }: { - imports = [ - ../common/home.nix - ./modules/foot.nix - ./modules/zathura.nix - ./modules/mako.nix - ]; -} diff --git a/home-manager/wayland/modules/foot.nix b/home-manager/wayland/modules/foot.nix deleted file mode 100644 index bf1ddc4..0000000 --- a/home-manager/wayland/modules/foot.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ lib, ... }: { - programs.foot = { - enable = true; - - settings = { - colors.background = "000000"; - main = { - pad = "10x10"; - font = lib.mkDefault "monospace:size=18"; - }; - }; - }; -} diff --git a/home-manager/wayland/modules/mako.nix b/home-manager/wayland/modules/mako.nix deleted file mode 100644 index 4280fdf..0000000 --- a/home-manager/wayland/modules/mako.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ ... }: { - services.mako = { - enable = true; - defaultTimeout = 3000; - - borderSize = 2; - backgroundColor = "#000000"; - }; -} diff --git a/home-manager/wayland/modules/zathura.nix b/home-manager/wayland/modules/zathura.nix deleted file mode 100644 index 6751f32..0000000 --- a/home-manager/wayland/modules/zathura.nix +++ /dev/null @@ -1,15 +0,0 @@ -{ lib, ... }: { - programs.zathura = { - enable = true; - - mappings = { - "f" = "toggle_fullscreen"; - "[fullscreen] f" = "toggle_fullscreen"; - }; - options = { - font = lib.mkDefault "Sans"; - statusbar-basename = true; - selection-clipboard = "clipboard"; - }; - }; -} -- cgit v1.2.3