diff --git a/flake.nix b/flake.nix index c7c466e..91a8e58 100644 --- a/flake.nix +++ b/flake.nix @@ -42,7 +42,6 @@ pc = mkSystem ./nixos-configurations/pc; laptop = mkSystem ./nixos-configurations/laptop; server = mkSystem ./nixos-configurations/server; - tvpc = mkSystem ./nixos-configurations/tvpc; }; }; } diff --git a/nixos-configurations/tvpc/default.nix b/nixos-configurations/tvpc/default.nix deleted file mode 100644 index 222d785..0000000 --- a/nixos-configurations/tvpc/default.nix +++ /dev/null @@ -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"; -} - diff --git a/nixos-configurations/tvpc/hardware-configuration.nix b/nixos-configurations/tvpc/hardware-configuration.nix deleted file mode 100644 index 82f8b18..0000000 --- a/nixos-configurations/tvpc/hardware-configuration.nix +++ /dev/null @@ -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..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; -} diff --git a/nixos-configurations/wsl/default.nix b/nixos-configurations/wsl/default.nix deleted file mode 100644 index dd32be6..0000000 --- a/nixos-configurations/wsl/default.nix +++ /dev/null @@ -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"; -}