Bladeren bron

trying to modularize

master
Martin Klimeš 4 jaren geleden
bovenliggende
commit
8954db51c1
3 gewijzigde bestanden met toevoegingen van 10 en 2 verwijderingen
  1. +3
    -2
      nix/configuration.nix
  2. +5
    -0
      nix/machines/G560.nix
  3. +2
    -0
      nix/user.nix

+ 3
- 2
nix/configuration.nix Bestand weergeven

@ -21,11 +21,13 @@ let
in {
imports = [ # Include the results of the hardware scan.
./hardware-configuration.nix
#"${home-manager}/nixos"
#<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;

+ 5
- 0
nix/machines/G560.nix Bestand weergeven

@ -0,0 +1,5 @@
{ config, pkgs, ... }:
{
boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only
}

+ 2
- 0
nix/user.nix Bestand weergeven

@ -4,6 +4,8 @@ let
email = "klimi@sitischu.com";
in
{
imports = [<home-manager/nixos>];
home-manager.useUserPackages = true;
#

Laden…
Annuleren
Opslaan