diff --git a/dot_config/flake/flake.nix b/dot_config/flake/flake.nix index 69b1ab0..2958b32 100644 --- a/dot_config/flake/flake.nix +++ b/dot_config/flake/flake.nix @@ -50,7 +50,20 @@ nixosConfigurations = { mal = nixpkgs.lib.nixosSystem { specialArgs = {inherit inputs outputs;}; - modules = [./nixos/mal/configuration.nix]; + modules = [ + ./machines/mal/configuration.nix + + lix-module.nixosModules.default + + home-manager.nixosModules.home-manager + { + home-manager.useGlobalPkgs = true; + home-manager.useUserPackages = true; + + home-manager.extraSpecialArgs = {inherit inputs outputs;}; + home-manager.users.tyler = import ./machines/mal/home.nix; + } + ]; }; wash = nixpkgs.lib.nixosSystem { diff --git a/dot_config/flake/nixos/mal/configuration.nix b/dot_config/flake/machines/mal/configuration.nix similarity index 100% rename from dot_config/flake/nixos/mal/configuration.nix rename to dot_config/flake/machines/mal/configuration.nix diff --git a/dot_config/flake/nixos/mal/encrypted_private_secrets.sh.age b/dot_config/flake/machines/mal/encrypted_private_secrets.sh.age similarity index 100% rename from dot_config/flake/nixos/mal/encrypted_private_secrets.sh.age rename to dot_config/flake/machines/mal/encrypted_private_secrets.sh.age diff --git a/dot_config/flake/nixos/mal/hardware-configuration.nix b/dot_config/flake/machines/mal/hardware-configuration.nix similarity index 100% rename from dot_config/flake/nixos/mal/hardware-configuration.nix rename to dot_config/flake/machines/mal/hardware-configuration.nix diff --git a/dot_config/flake/home/mal/mal.nix b/dot_config/flake/machines/mal/home.nix similarity index 58% rename from dot_config/flake/home/mal/mal.nix rename to dot_config/flake/machines/mal/home.nix index f64fd05..5e603fd 100644 --- a/dot_config/flake/home/mal/mal.nix +++ b/dot_config/flake/machines/mal/home.nix @@ -1,5 +1,8 @@ {pkgs, ...}: { - imports = [../common.nix]; + imports = [ + ../../home/common.nix + ../../home/helide + ]; home = { username = "tyler";