Some updates to flakes

This commit is contained in:
TheWanderingCrow 2024-09-15 11:23:39 -04:00
parent 92db98ae68
commit b28b94ae17
5 changed files with 15 additions and 53 deletions

View file

@ -0,0 +1,14 @@
{ pkgs,
...
}:{
imports = [
./hardware-configuration.nix
../../modules
];
networking.hostName = "Parzival-Mobile";
environment.systemPackages = [
pkgs.git
pkgs.vim
pkgs.wget
];
}

View file

@ -1,24 +0,0 @@
{ pkgs,
...
}:{
imports = [
./hardware-configuration.nix
../../modules
];
networking.hostName = "nixos-remote";
environment.systemPackages = [
pkgs.git
pkgs.vim
pkgs.wget
];
boot.loader.grub.device = "/dev/xvda";
boot.loader.grub.efiSupport = true;
boot.loader.grub.efiInstallAsRemovable = true;
boot.loader.timeout = 1;
boot.loader.grub.extraConfig = ''
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
terminal_output console serial
terminal_input console serial
'';
}

View file

@ -1,29 +0,0 @@
# 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, pkgs, modulesPath, ... }:
{
imports = [ ];
boot.initrd.availableKernelModules = [ "nvme" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/f222513b-ded1-49fa-b591-20ce86a2fe7f";
fsType = "ext4";
};
swapDevices = [ ];
# 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.ens5.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}

View file

@ -1,4 +1,5 @@
{
imports = [
./boot.nix
];
}