diff --git a/nix/configuration.nix b/nix/configuration.nix index 558f13a..77f130e 100644 --- a/nix/configuration.nix +++ b/nix/configuration.nix @@ -21,11 +21,13 @@ let in { imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix + #"${home-manager}/nixos" # ./user.nix + ./machines/G560.nix ]; - # Linux kernel Latest + # Linux kernel Latest boot.kernelPackages = pkgs.linuxPackages_latest; # Use the GRUB 2 boot loader. boot.loader.grub.enable = true; @@ -34,7 +36,6 @@ in { # boot.loader.grub.efiInstallAsRemovable = true; # boot.loader.efi.efiSysMountPoint = "/boot/efi"; # Define on which hard drive you want to install Grub. - boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only networking = { hostName = hostName; networkmanager.enable = true; diff --git a/nix/machines/G560.nix b/nix/machines/G560.nix new file mode 100644 index 0000000..6a0a876 --- /dev/null +++ b/nix/machines/G560.nix @@ -0,0 +1,5 @@ +{ config, pkgs, ... }: +{ + + boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only +} diff --git a/nix/user.nix b/nix/user.nix index 5629541..804abaf 100644 --- a/nix/user.nix +++ b/nix/user.nix @@ -4,6 +4,8 @@ let email = "klimi@sitischu.com"; in { + + imports = []; home-manager.useUserPackages = true; #