enters: aerial
This commit is contained in:
parent
b75763b3a2
commit
6602ca85d2
4 changed files with 68 additions and 1 deletions
|
@ -101,7 +101,10 @@
|
|||
|
||||
# Asahi MacBook Air M2
|
||||
cider = mkNixos [ ./nixos/hosts/cider ];
|
||||
|
||||
|
||||
# Main Desktop
|
||||
aerial = mkNixos [ ./nixos/hosts/aerial ];
|
||||
|
||||
# 2015 MBP
|
||||
#echo = mkNixos [ ./nixos/hosts/echo ];
|
||||
|
||||
|
|
9
home-manager/noe/hosts/aerial.nix
Normal file
9
home-manager/noe/hosts/aerial.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ ... }: {
|
||||
imports = [
|
||||
../common
|
||||
../common/home-user.nix
|
||||
|
||||
../../features/kitty.nix
|
||||
../../features/vesktop
|
||||
];
|
||||
}
|
15
nixos/hosts/aerial/default.nix
Normal file
15
nixos/hosts/aerial/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../client.nix
|
||||
|
||||
../../features/xfce.nix
|
||||
../../features/tailscale.nix
|
||||
../../features/sound
|
||||
];
|
||||
|
||||
home-manager.users.noe = import ../../../home-manager/noe/hosts/aerial.nix;
|
||||
|
||||
networking.hostName = "aerial";
|
||||
system.stateVersion = "24.05";
|
||||
}
|
40
nixos/hosts/aerial/hardware-configuration.nix
Normal file
40
nixos/hosts/aerial/hardware-configuration.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
# 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 = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/a7e2046c-f3ce-4ea0-86d1-89118b0e08a6";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/EE80-F63E";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
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.enp5s0.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.enp6s0.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.enp7s0.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.wlp8s0.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
Loading…
Add table
Reference in a new issue