Bläddra i källkod

trying to modularize

master
Martin Klimeš 5 år sedan
förälder
incheckning
8954db51c1
3 ändrade filer med 10 tillägg och 2 borttagningar
  1. +3
    -2
      nix/configuration.nix
  2. +5
    -0
      nix/machines/G560.nix
  3. +2
    -0
      nix/user.nix

+ 3
- 2
nix/configuration.nix Visa fil

@ -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 Visa fil

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

+ 2
- 0
nix/user.nix Visa fil

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

Laddar…
Avbryt
Spara