sperate boot into option

This commit is contained in:
jopejoe1 2024-01-02 20:58:18 +01:00
parent 414c9bd0eb
commit 4feef7b1c1
9 changed files with 36 additions and 45 deletions

View file

@ -16,17 +16,10 @@
jopejoe1.enable = true;
nix.enable = true;
root.enable = true;
boot.systemd.enable = true;
};
networking = { hostName = "tuny"; };
boot.loader.grub.device = "/dev/sda";
programs = {
git = {
enable = true;
lfs.enable = true;
};
};
environment.systemPackages = with pkgs; [ mixxx ];

View file

@ -1,6 +1,3 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, modulesPath, ... }:
{
@ -28,13 +25,7 @@
swapDevices =
[{ device = "/dev/disk/by-uuid/8569ee66-b939-4ce8-a94a-dca7df5e301b"; }];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp3s0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp5s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode =