moved hardware cfg to different system

This commit is contained in:
CDaut 2024-02-29 21:15:35 +01:00
parent dd57859fc8
commit af4c4b6df9
Signed by: clara
GPG key ID: 223391B52FAD4463
3 changed files with 10 additions and 7 deletions

View file

@ -6,12 +6,6 @@
"flakes" "flakes"
]; ];
imports =
[
# Include the results of the hardware scan.
./vm_hardware-configuration.nix
];
# Bootloader. # Bootloader.
boot.loader.grub.enable = true; boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/sda"; boot.loader.grub.device = "/dev/sda";

View file

@ -9,10 +9,19 @@
outputs = inputs@{ nixpkgs, home-manager, ... }: { outputs = inputs@{ nixpkgs, home-manager, ... }: {
nixosConfigurations = { 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 { laptop = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
./configuration.nix ./configuration.nix
./hardware_configuration.nix
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
]; ];
}; };

View file

@ -40,7 +40,7 @@ in
]; ];
# dotfiles # dotfiles
home.file = { home.file = {
rofitheme = { rofitheme = {
source = ./programm_configs/slate.rasi; source = ./programm_configs/slate.rasi;
target = ".config/rofi/slate.rasi"; target = ".config/rofi/slate.rasi";