Remove unnecessary hosts

This commit is contained in:
thiloho
2023-10-01 23:02:08 +02:00
parent 3ae903200f
commit 3efb80c44a
4 changed files with 0 additions and 114 deletions

View File

@@ -1,18 +0,0 @@
{ ... }:
{
imports = [
./hardware-configuration.nix
../shared-desktop.nix
../shared.nix
];
networking.hostName = "tvpc";
home-manager.users.thiloho = { pkgs, lib, ... }: {
programs.git.signing.key = "5ECD00BDC15A987E";
home.stateVersion = "23.05";
};
system.stateVersion = "23.05";
}

View File

@@ -1,40 +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 =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "ahci" "xhci_pci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/63ef4cb3-e605-4afd-8253-9a2c3372b728";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/9534-9048";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/8dc7af73-ad0d-494d-8e5a-c661e35b7856"; }
];
# 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.enp39s0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp41s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View File

@@ -1,55 +0,0 @@
{ pkgs, ... }:
{
wsl = {
enable = true;
wslConf.automount.root = "/mnt";
defaultUser = "thiloho";
startMenuLaunchers = true;
nativeSystemd = true;
# Enable native Docker support
# docker-native.enable = true;
# Enable integration with Docker Desktop (needs to be installed)
# docker-desktop.enable = true;
};
networking.hostName = "ThilosPC";
users.users.thiloho.isNormalUser = true;
home-manager.users.thiloho = { pkgs, lib, config, ... }: {
programs = {
helix = {
enable = true;
defaultEditor = true;
settings.theme = "ayu_dark";
};
git = {
enable = true;
userName = "thiloho";
userEmail = "123883702+thiloho@users.noreply.github.com";
signing = {
signByDefault = true;
key = "68E9DB8C7055C97A";
};
};
};
home = {
stateVersion = "23.05";
packages = with pkgs; [ wget ];
};
};
nixpkgs.config.allowUnfree = true;
# Enable nix flakes
nix.package = pkgs.nixFlakes;
nix.extraOptions = ''
experimental-features = nix-command flakes
'';
system.stateVersion = "23.05";
}