From 7e712c1fec4325cd4d9505fe3c415e06d3e2f8c2 Mon Sep 17 00:00:00 2001 From: notohh Date: Mon, 27 Feb 2023 05:39:25 -0500 Subject: [PATCH] init hm for hime --- flake.nix | 11 ++++++++++- hosts/hime/home.nix | 25 +++++++++++++++++++++++++ {modules/home => hosts/tsuki}/home.nix | 26 +++++++++++++------------- 3 files changed, 48 insertions(+), 14 deletions(-) create mode 100644 hosts/hime/home.nix rename {modules/home => hosts/tsuki}/home.nix (69%) diff --git a/flake.nix b/flake.nix index fdcee17..50c81a2 100755 --- a/flake.nix +++ b/flake.nix @@ -30,7 +30,7 @@ home-manager.users.notoh = { imports = [ hyprland.homeManagerModules.default - ./modules/home/home.nix + ./hosts/tsuki/home.nix ]; }; } @@ -40,6 +40,15 @@ inherit system; modules = [ ./hosts/hime + home-manager.nixosModules.home-manager { + home-manager.useGlobalPkgs = true; + home-manager.useUserPackages = true; + home-manager.users.oh = { + imports = [ + ./hosts/hime/home.nix + ]; + }; + } ]; }; }; diff --git a/hosts/hime/home.nix b/hosts/hime/home.nix new file mode 100644 index 0000000..fcc3be3 --- /dev/null +++ b/hosts/hime/home.nix @@ -0,0 +1,25 @@ +{config, pkgs, ...}: + +{ + +imports = [ + ./gtk + ./wezterm + ./zathura + ./nushell + ./starship + ./dunst + ./helix + ./git + ./lf +]; + systemd.user.startServices = "sd-switch"; + programs.home-manager.enable = true; + + home = { + username = "oh"; + homeDirectory = "/home/oh"; + stateVersion = "23.05"; + }; + +} \ No newline at end of file diff --git a/modules/home/home.nix b/hosts/tsuki/home.nix similarity index 69% rename from modules/home/home.nix rename to hosts/tsuki/home.nix index a049efc..e2a8413 100755 --- a/modules/home/home.nix +++ b/hosts/tsuki/home.nix @@ -3,19 +3,19 @@ { imports = [ - ./gtk - ./wezterm - ./zathura - ./nushell - ./starship - ./dunst - ./helix - ./git - ./lazygit - ./lf - ./mpv - ./waybar - ./wayland/hyprland + ../../modules/home/gtk + ../../modules/home/wezterm + ../../modules/home/zathura + ../../modules/home/nushell + ../../modules/home/starship + ../../modules/home/dunst + ../../modules/home/helix + ../../modules/home/git + ../../modules/home/lazygit + ../../modules/home/lf + ../../modules/home/mpv + ../../modules/home/waybar + ../../modules/home/wayland/hyprland ]; systemd.user.startServices = "sd-switch";