diff --git a/configuration.nix b/configuration.nix index f59cbdb..e3c93df 100644 --- a/configuration.nix +++ b/configuration.nix @@ -6,12 +6,6 @@ "flakes" ]; - imports = - [ - # Include the results of the hardware scan. - ./vm_hardware-configuration.nix - ]; - # Bootloader. boot.loader.grub.enable = true; boot.loader.grub.device = "/dev/sda"; diff --git a/flake.nix b/flake.nix index 25b3a0b..8101b2e 100644 --- a/flake.nix +++ b/flake.nix @@ -9,10 +9,19 @@ outputs = inputs@{ nixpkgs, home-manager, ... }: { nixosConfigurations = { + vm = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ + ./configuration.nix + ./vm_hardware-configuration.nix + home-manager.nixosModules.home-manager + ]; + }; laptop = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ ./configuration.nix + ./hardware_configuration.nix home-manager.nixosModules.home-manager ]; }; diff --git a/home.nix b/home.nix index a49c345..e837123 100644 --- a/home.nix +++ b/home.nix @@ -40,7 +40,7 @@ in ]; # dotfiles - home.file = { + home.file = { rofitheme = { source = ./programm_configs/slate.rasi; target = ".config/rofi/slate.rasi";