From 3d72ac98e28ca41ed7fec6af2e1c51574c84eb6f Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Sun, 21 Aug 2022 17:35:17 -0600 Subject: [PATCH] Remove old files for new location --- nix-configs/configuration.nix | 103 ---------------------------------- nix-configs/oryp6.nix | 11 ---- nix-configs/plasma.nix | 27 --------- nix-configs/programs.nix | 23 -------- nix-configs/rpi4.nix | 56 ------------------ nix-configs/unstable.nix | 14 ----- 6 files changed, 234 deletions(-) delete mode 100644 nix-configs/configuration.nix delete mode 100644 nix-configs/oryp6.nix delete mode 100644 nix-configs/plasma.nix delete mode 100644 nix-configs/programs.nix delete mode 100644 nix-configs/rpi4.nix delete mode 100644 nix-configs/unstable.nix diff --git a/nix-configs/configuration.nix b/nix-configs/configuration.nix deleted file mode 100644 index b5292e1..0000000 --- a/nix-configs/configuration.nix +++ /dev/null @@ -1,103 +0,0 @@ -{ config, pkgs, ... }: - -{ - # Import other configuration modules - # (hardware-configuration.nix is autogenerated upon installation) - # paths in nix expressions are always relative the file which defines them - imports = - [ - ./hardware-configuration.nix - ./plasma.nix - ./programs.nix - ]; - - boot.loader = { - systemd-boot.enable = true; - }; - - boot.initrd.luks.devices = { - crypt-root = { - device = "/dev/disk/by-label/luks"; - preLVM = true; - }; - }; - - # Name your host machine - networking.hostName = "NixOS"; - networking.networkmanager.enable = true; - - # Set your time zone. - time.timeZone = "America/Denver"; - - # Enter keyboard layout - services.xserver.layout = "us"; - - # Enable Flatpak - xdg = { - portal = { - enable = true; - extraPortals = with pkgs; [ - xdg-desktop-portal-wlr - xdg-desktop-portal-kde - ]; - }; - }; - - services.flatpak.enable = true; - - # Enable fwupd - services.fwupd.enable = true; - - # Define user accounts - users.extraUsers.aaronh = { - description = "Aaron Honeycutt"; - home = "/home/aaronh"; - extraGroups = [ "wheel" "networkmanager" "adm"]; - isNormalUser = true; - hashedPassword = "$6$aAcbLtqiqzySifls$jdKMOQjoWITHD/dWNNZVUH/qNc6aoJ7v4zYofi0U7IJSVTbmOfChS3mzaJbp57AodjdPNKPrnrip8Nlh2Qanx."; - }; - - # Allow Unfree - nixpkgs.config.allowUnfree = true; - - # Enable 32 Bit libraries for applications like Steam - hardware.opengl.driSupport32Bit = true; - - # Install some packages - environment.systemPackages = - with pkgs; - [ - firefox - fish - flatpak - git - steam - thunderbird - restic - wget - ]; - - # Enable the OpenSSH daemon - services.openssh.enable = true; - - # Enable Pipewire - security.rtkit.enable = true; - services.pipewire = { - enable = true; - alsa.enable = true; - alsa.support32Bit = true; - pulse.enable = true; - }; - - # Enable Bluetooth - hardware.bluetooth.enable = true; - - # Enable CUPS - services.printing.enable = true; - - # System - system.stateVersion = "22.05"; - system.autoUpgrade.enable = true; - system.autoUpgrade.allowReboot = true; - -} diff --git a/nix-configs/oryp6.nix b/nix-configs/oryp6.nix deleted file mode 100644 index c2544d9..0000000 --- a/nix-configs/oryp6.nix +++ /dev/null @@ -1,11 +0,0 @@ -{ config, pkgs, ... }: - -{ - # NVIDIA - services.xserver.videoDrivers = [ "nvidia" ]; - hardware.opengl.enable = true; - hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable; - - # Allow Unfree - nixpkgs.config.allowUnfree = true; -} diff --git a/nix-configs/plasma.nix b/nix-configs/plasma.nix deleted file mode 100644 index 68ee3fb..0000000 --- a/nix-configs/plasma.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ config, pkgs, ... }: - -{ - # Plasma - services.xserver.enable = true; - services.xserver.displayManager.sddm.enable = true; - services.xserver.displayManager.sddm.settings.Wayland.SessionDir = - "${pkgs.plasma5Packages.plasma-workspace}/share/wayland-sessions"; - services.xserver.desktopManager.plasma5.enable = true; - - # Install some packages - environment.systemPackages = - with pkgs; - [ - libsForQt5.ark - libsForQt5.bismuth - libsForQt5.full - libsForQt5.kalendar - libsForQt5.kate - libsForQt5.kdeconnect-kde - libsForQt5.kde-gtk-config - libsForQt5.plasma-framework - libsForQt5.plasma-nm - libsForQt5.plasma-pa - libsForQt5.sddm - ]; -} diff --git a/nix-configs/programs.nix b/nix-configs/programs.nix deleted file mode 100644 index 6106b93..0000000 --- a/nix-configs/programs.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ config, pkgs, ... }: - -{ - # virt-manager - virtualisation.libvirtd.enable = true; - - # Packages - environment.systemPackages = - with pkgs; - [ - discord - libreoffice-fresh - slack - virt-manager - vscode - ]; - - programs.fish.enable = true; - - users.users.aaronh = { - shell = pkgs.fish; - }; -} diff --git a/nix-configs/rpi4.nix b/nix-configs/rpi4.nix deleted file mode 100644 index 1903f87..0000000 --- a/nix-configs/rpi4.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ config, pkgs, lib, ... }: - -let - SSID = "Honeycutt-5G"; - SSIDpassword = "Frappe92"; - interface = "wlan0"; - hostname = "NixOS"; -in { - imports = ["${fetchTarball "https://github.com/NixOS/nixos-hardware/archive/936e4649098d6a5e0762058cb7687be1b2d90550.tar.gz" }/raspberry-pi/4"]; - - fileSystems = { - "/" = { - device = "/dev/disk/by-label/NIXOS_SD"; - fsType = "ext4"; - options = [ "noatime" ]; - }; - }; - - networking = { - hostName = "NixOS"; - networkmanager.enable = true; - - wireless = { - enable = true; - networks."${SSID}".psk = SSIDpassword; - interfaces = [ interface ]; - }; - }; - - # Set your time zone. - time.timeZone = "America/Denver"; - - environment.systemPackages = with pkgs; [ vim ]; - - services.openssh.enable = true; - - # Define user accounts - users.extraUsers.aaronh = { - description = "Aaron Honeycutt"; - home = "/home/aaronh"; - extraGroups = [ "wheel" "networkmanager" "adm"]; - isNormalUser = true; - hashedPassword = "$6$aAcbLtqiqzySifls$jdKMOQjoWITHD/dWNNZVUH/qNc6aoJ7v4zYofi0U7IJSVTbmOfChS3mzaJbp57AodjdPNKPrnrip8Nlh2Qanx."; - }; - - # Enable GPU acceleration - hardware.raspberry-pi."4".fkms-3d.enable = true; - - services.xserver = { - enable = true; - displayManager.lightdm.enable = true; - desktopManager.xfce.enable = true; - }; - - hardware.pulseaudio.enable = true; -} diff --git a/nix-configs/unstable.nix b/nix-configs/unstable.nix deleted file mode 100644 index c0b3f7b..0000000 --- a/nix-configs/unstable.nix +++ /dev/null @@ -1,14 +0,0 @@ -{ config, pkgs, ...}: - -let - unstable = import - (builtins.fetchTarball https://github.com/nixos/nixpkgs/tarball/master) - # reuse the current configuration - { config = config.nixpkgs.config; }; -in -{ - environment.systemPackages = with pkgs; [ - unstable.protonvpn-cli - unstable.protonvpn-gui - ]; -}