From cc447526c0c36cfe84bbe5c692c8314939b6a158 Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Fri, 8 Nov 2024 02:49:46 +0000 Subject: [PATCH] remove gallus, it's stock now --- flake.lock | 22 ------ flake.nix | 5 -- system/gallus/boot-config.nix | 7 -- system/gallus/default.nix | 93 ------------------------ system/gallus/hardware-configuration.nix | 51 ------------- 5 files changed, 178 deletions(-) delete mode 100644 system/gallus/boot-config.nix delete mode 100644 system/gallus/default.nix delete mode 100644 system/gallus/hardware-configuration.nix diff --git a/flake.lock b/flake.lock index 8f777e7..a2a4509 100644 --- a/flake.lock +++ b/flake.lock @@ -344,27 +344,6 @@ "type": "github" } }, - "jovian": { - "inputs": { - "nix-github-actions": [], - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1729921861, - "narHash": "sha256-lR1FS18NxY8XfYVxFSIAHCeJuTgbGUy7J79Bo0e9ZMA=", - "owner": "jovian-experiments", - "repo": "jovian-nixos", - "rev": "b0d86a65833bed4eda4d36ad54730a967bdca15a", - "type": "github" - }, - "original": { - "owner": "jovian-experiments", - "repo": "jovian-nixos", - "type": "github" - } - }, "lanzaboote": { "inputs": { "crane": "crane", @@ -608,7 +587,6 @@ "darwin": "darwin", "fonts": "fonts", "home-manager": "home-manager", - "jovian": "jovian", "lanzaboote": "lanzaboote", "lix": "lix", "lix-module": "lix-module", diff --git a/flake.nix b/flake.nix index 4927f96..3de759c 100644 --- a/flake.nix +++ b/flake.nix @@ -20,11 +20,6 @@ url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; - jovian = { - url = "github:jovian-experiments/jovian-nixos"; - inputs.nixpkgs.follows = "nixpkgs"; - inputs.nix-github-actions.follows = ""; - }; lanzaboote = { url = "github:nix-community/lanzaboote/v0.3.0"; inputs.nixpkgs.follows = "nixpkgs"; diff --git a/system/gallus/boot-config.nix b/system/gallus/boot-config.nix deleted file mode 100644 index bd6a413..0000000 --- a/system/gallus/boot-config.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ ... }: -{ - boot.loader = { - systemd-boot.enable = true; - efi.canTouchEfiVariables = true; - }; -} diff --git a/system/gallus/default.nix b/system/gallus/default.nix deleted file mode 100644 index 6353d16..0000000 --- a/system/gallus/default.nix +++ /dev/null @@ -1,93 +0,0 @@ -{ - inputs, - pkgs, - lib, - ... -}@args: - -{ - imports = [ - ../../home - ../../sets/base.nix - ../../sets/buildMachines.nix - ../../sets/nixvim.nix - ../../sets/sshd.nix - ../../sets/wifi.nix - ./boot-config.nix - ./hardware-configuration.nix - inputs.jovian.nixosModules.default - ]; - - nix.settings.trusted-users = [ "@wheel" ]; - - jovian = { - devices.steamdeck = { - enable = true; - autoUpdate = true; - enableGyroDsuService = true; - enableXorgRotation = false; - }; - decky-loader = { - enable = true; - package = pkgs.decky-loader-prerelease; - }; - steam = { - enable = true; - autoStart = true; - desktopSession = "gnome-xorg"; - user = "artemis"; - }; - }; - programs.steam.enable = true; - programs.nix-ld.enable = true; - - hardware.bluetooth.enable = true; - - services.xserver.desktopManager.gnome.enable = true; - services.gnome = { - tracker-miners.enable = false; - tracker.enable = false; - }; - - services.avahi = { - enable = true; - nssmdns4 = true; - publish = { - enable = true; - addresses = true; - }; - }; - - # Requires a lot of dependencies we don't use - programs.nixvim.plugins.lsp.enable = false; - - environment.systemPackages = with pkgs; [ - htop - jq - lm_sensors - p7zip - ripgrep - unrar - unzip - wormhole-rs - - firefox - - gogdl - heroic - legendary-gl - nile - steam-rom-manager - - dolphin-emu - duckstation - mgba - ryujinx - xemu - - celeste64 - ]; - - networking.hostName = "gallus"; - system.stateVersion = "23.11"; -} diff --git a/system/gallus/hardware-configuration.nix b/system/gallus/hardware-configuration.nix deleted file mode 100644 index 0d674f6..0000000 --- a/system/gallus/hardware-configuration.nix +++ /dev/null @@ -1,51 +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" - "usbhid" - "sdhci_pci" - ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = { - device = "/dev/disk/by-uuid/07eba495-97e8-4aa1-ba63-927951a9bb1c"; - fsType = "ext4"; - }; - - fileSystems."/boot" = { - device = "/dev/disk/by-uuid/D1BA-85D3"; - fsType = "vfat"; - }; - - fileSystems."/media/µsd" = { - device = "/dev/disk/by-uuid/9a4ff113-bd87-49be-94df-2217ac72e253"; - fsType = "ext4"; - }; - - swapDevices = [ { device = "/dev/disk/by-uuid/6cdcaab1-a216-4615-89e7-75e99c1339bb"; } ]; - - # 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.wlo1.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -}