diff --git a/flake.nix b/flake.nix index 2d941d2..956b674 100644 --- a/flake.nix +++ b/flake.nix @@ -124,6 +124,8 @@ environment.systemPackages = with pkgs; [tmux python3Packages.guessit mediainfo yt-dlp]; }) ]; + + lucca = mkSystem "lucca" "none" []; }; }; } diff --git a/hosts/lucca/.hardware-configuration.nix.swp b/hosts/lucca/.hardware-configuration.nix.swp new file mode 100644 index 0000000..137dd3f Binary files /dev/null and b/hosts/lucca/.hardware-configuration.nix.swp differ diff --git a/hosts/lucca/hardware-configuration.nix b/hosts/lucca/hardware-configuration.nix new file mode 100644 index 0000000..5e745e2 --- /dev/null +++ b/hosts/lucca/hardware-configuration.nix @@ -0,0 +1,76 @@ +# 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 = [ "virtio_pci" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ ]; + boot.extraModulePackages = [ ]; + + fileSystems."/mnt/wsl" = + { device = "none"; + fsType = "tmpfs"; + }; + + fileSystems."/usr/lib/wsl/drivers" = + { device = "none"; + fsType = "9p"; + }; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/3d4637c7-738d-4b8b-874d-1bac3a208ad5"; + fsType = "ext4"; + }; + + fileSystems."/mnt/wslg" = + { device = "none"; + fsType = "tmpfs"; + }; + + fileSystems."/mnt/wslg/distro" = + { device = ""; + fsType = "none"; + options = [ "bind" ]; + }; + + fileSystems."/usr/lib/wsl/lib" = + { device = "none"; + fsType = "overlay"; + }; + + fileSystems."/mnt/wslg/doc" = + { device = "none"; + fsType = "overlay"; + }; + + fileSystems."/mnt/wslg/.X11-unix" = + { device = "/mnt/wslg/.X11-unix"; + fsType = "none"; + options = [ "bind" ]; + }; + + fileSystems."/mnt/c" = + { device = "drvfs"; + fsType = "9p"; + }; + + swapDevices = + [ { device = "/dev/disk/by-uuid/a892733e-b1ef-4bf6-be4c-270ce67c4c5b"; } + ]; + + # 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..useDHCP`. + networking.useDHCP = lib.mkDefault true; + # networking.interfaces.bonding_masters.useDHCP = lib.mkDefault true; + # networking.interfaces.eth0.useDHCP = lib.mkDefault true; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + + system.stateVersion = "23.05"; +} diff --git a/modules/none/default.nix b/modules/none/default.nix new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/modules/none/default.nix @@ -0,0 +1 @@ +{} diff --git a/modules/none/home.nix b/modules/none/home.nix new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/modules/none/home.nix @@ -0,0 +1 @@ +{}