fix: typo of host figther
This commit is contained in:
@@ -92,7 +92,7 @@
|
||||
./home/guz/configuration.nix
|
||||
];
|
||||
};
|
||||
"fighter" = nixpkgs.lib.nixosSystem rec {
|
||||
"figther" = nixpkgs.lib.nixosSystem rec {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
pkgs-unstable = import nixpkgs-unstable {
|
||||
@@ -104,7 +104,7 @@
|
||||
modules =
|
||||
homeNixOSModules
|
||||
++ [
|
||||
./hosts/fighter/configuration.nix
|
||||
./hosts/figther/configuration.nix
|
||||
inputs.stylix.nixosModules.stylix
|
||||
./home/guz-lite/configuration.nix
|
||||
];
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
users.users."guz" = {
|
||||
openssh.authorizedKeys.keyFiles = [
|
||||
../../.ssh/guz-fighter.pub
|
||||
../../.ssh/guz-figther.pub
|
||||
];
|
||||
};
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
# Network
|
||||
networking = {
|
||||
hostName = lib.mkForce "fighter";
|
||||
hostName = lib.mkForce "figther";
|
||||
nameservers = ["192.168.0.110"];
|
||||
# wireless.enable = lib.mkForce true;
|
||||
};
|
||||
39
hosts/figther/hardware-configuration.nix
Normal file
39
hosts/figther/hardware-configuration.nix
Normal file
@@ -0,0 +1,39 @@
|
||||
# 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 =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/bcd5d809-c81d-4d42-8496-07a70e3b1ffc";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/9444-2967";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
};
|
||||
|
||||
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.enp1s0.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
||||
Reference in New Issue
Block a user