From a02710abe0d894732b0dbde225a20b862e8e7798 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Sun, 19 Apr 2026 09:46:29 -0400 Subject: [PATCH] Unused --- configurations/nixos/vixen/configuration.nix | 87 ------------------- configurations/nixos/vixen/default.nix | 24 ----- .../nixos/vixen/hardware-configuration.nix | 44 ---------- 3 files changed, 155 deletions(-) delete mode 100644 configurations/nixos/vixen/configuration.nix delete mode 100644 configurations/nixos/vixen/default.nix delete mode 100644 configurations/nixos/vixen/hardware-configuration.nix diff --git a/configurations/nixos/vixen/configuration.nix b/configurations/nixos/vixen/configuration.nix deleted file mode 100644 index 9c7b5db..0000000 --- a/configurations/nixos/vixen/configuration.nix +++ /dev/null @@ -1,87 +0,0 @@ -# Edit this configuration file to define what should be installed on -# your system. Help is available in the configuration.nix(5) man page -# and in the NixOS manual (accessible by running ‘nixos-help’). - -{ config, flake, pkgs, ... }: - -{ - imports = - [ - # Include the results of the hardware scan. - ./hardware-configuration.nix - ]; - - # Bootloader. - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; - - networking.hostName = "vixen"; # Define your hostname. - # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. - - # Configure network proxy if necessary - # networking.proxy.default = "http://user:password@proxy:port/"; - # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; - - # Enable networking - networking.networkmanager.enable = true; - - # Select internationalisation properties. - i18n.defaultLocale = "en_CA.UTF-8"; - - # Enable the X11 windowing system. - services.xserver.enable = true; - - # Enable the GNOME Desktop Environment. - services.xserver.displayManager.gdm.enable = true; - services.xserver.desktopManager.gnome.enable = true; - - # Configure keymap in X11 - services.xserver.xkb = { - layout = "us"; - variant = ""; - }; - - # Enable CUPS to print documents. - services.printing.enable = true; - - # Enable sound with pipewire. - services.pulseaudio.enable = false; - security.rtkit.enable = true; - services.pipewire = { - enable = true; - alsa.enable = true; - alsa.support32Bit = true; - pulse.enable = true; - # If you want to use JACK applications, uncomment this - #jack.enable = true; - - # use the example session manager (no others are packaged yet so this is enabled by default, - # no need to redefine it in your config for now) - #media-session.enable = true; - }; - - # Enable touchpad support (enabled default in most desktopManager). - # services.xserver.libinput.enable = true; - - # Define a user account. Don't forget to set a password with ‘passwd’. - users.users.${flake.config.me.username} = { - isNormalUser = true; - description = flake.config.me.fullname; - extraGroups = [ "networkmanager" "wheel" ]; - }; - - # Allow unfree packages - nixpkgs.config.allowUnfree = true; - - # Enable the OpenSSH daemon. - services.openssh.enable = true; - - # This value determines the NixOS release from which the default - # settings for stateful data, like file locations and database versions - # on your system were taken. It‘s perfectly fine and recommended to leave - # this value at the release version of the first install of this system. - # Before changing this value read the documentation for this option - # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "25.05"; # Did you read the comment? - -} diff --git a/configurations/nixos/vixen/default.nix b/configurations/nixos/vixen/default.nix deleted file mode 100644 index 421a8d2..0000000 --- a/configurations/nixos/vixen/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ flake, pkgs, ... }: - -let - inherit (flake) inputs; - inherit (inputs) self; -in -{ - nixos-unified.sshTarget = "srid@192.168.2.40"; - - imports = [ - self.nixosModules.default - inputs.nixos-hardware.nixosModules.lenovo-thinkpad-p14s-amd-gen4 - - ./configuration.nix - ]; - - environment.systemPackages = with pkgs; [ - google-chrome - vscode - ]; - - boot.initrd.kernelModules = [ "amdgpu" ]; - services.tailscale.enable = true; -} diff --git a/configurations/nixos/vixen/hardware-configuration.nix b/configurations/nixos/vixen/hardware-configuration.nix deleted file mode 100644 index a65d323..0000000 --- a/configurations/nixos/vixen/hardware-configuration.nix +++ /dev/null @@ -1,44 +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" "xhci_pci" "thunderbolt" "usb_storage" "usbhid" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { - device = "/dev/disk/by-uuid/e835307c-249c-4413-ab9c-6fe2e8f5306e"; - fsType = "ext4"; - }; - - boot.initrd.luks.devices."luks-81fcafb1-5995-4981-bf68-3c70968b6d53".device = "/dev/disk/by-uuid/81fcafb1-5995-4981-bf68-3c70968b6d53"; - - fileSystems."/boot" = - { - device = "/dev/disk/by-uuid/B2E1-63B3"; - fsType = "vfat"; - options = [ "fmask=0077" "dmask=0077" ]; - }; - - 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.enp1s0f0.useDHCP = lib.mkDefault true; - # networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -}