From 935f21228ed9155bef543800342142e1d1aa89ba Mon Sep 17 00:00:00 2001 From: Alex Kretzschmar Date: Mon, 14 Oct 2024 20:54:01 -0400 Subject: [PATCH] delete --- hosts/nixos/nixApp/default.nix | 64 ------------------- hosts/nixos/nixApp/hardware-configuration.nix | 36 ----------- 2 files changed, 100 deletions(-) delete mode 100644 hosts/nixos/nixApp/default.nix delete mode 100644 hosts/nixos/nixApp/hardware-configuration.nix diff --git a/hosts/nixos/nixApp/default.nix b/hosts/nixos/nixApp/default.nix deleted file mode 100644 index e87c70e..0000000 --- a/hosts/nixos/nixApp/default.nix +++ /dev/null @@ -1,64 +0,0 @@ -{ config, pkgs, unstablePkgs, customArgs, ... }: - -{ - imports = [ - ./hardware-configuration.nix - ./../../common/common-packages.nix - ]; - - # Use the systemd-boot EFI boot loader. - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; - - time.timeZone = "America/New_York"; - - users.groups.${customArgs.username} = {}; - users.users.${customArgs.username} = { - group = customArgs.username; - isNormalUser = true; - extraGroups = [ "wheel" "docker" ]; - packages = with pkgs; [ - # firefox - # google-chrome - # sunshine - - # # unstable below this line - # unstablePkgs.vscode - ]; - }; - - services.openssh = { - enable = true; - settings.PasswordAuthentication = true; - settings.PermitRootLogin = "yes"; - }; - services.vscode-server.enable = true; - services.tailscale.enable = true; - services.qemuGuest.enable = true; - - # services.xserver.enable = true; - # services.xserver.displayManager.gdm.enable = true; - # services.xserver.desktopManager.gnome.enable = true; - - # sound.enable = true; - # hardware.pulseaudio.enable = false; - # security.rtkit.enable = true; - # services.pipewire = { - # enable = true; - # alsa.enable = true; - # alsa.support32Bit = true; - # pulse.enable = true; - # }; - - virtualisation = { - docker = { - enable = true; - autoPrune = { - enable = true; - dates = "weekly"; - }; - }; - }; - - system.stateVersion = "23.11"; -} \ No newline at end of file diff --git a/hosts/nixos/nixApp/hardware-configuration.nix b/hosts/nixos/nixApp/hardware-configuration.nix deleted file mode 100644 index fa805e7..0000000 --- a/hosts/nixos/nixApp/hardware-configuration.nix +++ /dev/null @@ -1,36 +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 + "/profiles/qemu-guest.nix") - ]; - - boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { device = "/dev/vda2"; - fsType = "ext4"; - }; - - fileSystems."/boot" = - { device = "/dev/vda1"; - 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..useDHCP`. - networking.useDHCP = lib.mkDefault true; - # networking.interfaces.ens18.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; -} \ No newline at end of file