From a1bd16b6e51836b8f6b79fee226a2361378610ad Mon Sep 17 00:00:00 2001 From: scarletstorm Date: Mon, 30 Dec 2024 23:07:55 +0530 Subject: [PATCH] Kill quartz --- config/homes/violet@quartz.nix | 20 ---- config/hosts/x86_64-linux/quartz/default.nix | 47 ---------- .../quartz/hardware-configuration.nix | 51 ---------- flake.lock | 92 +------------------ flake.nix | 4 - 5 files changed, 4 insertions(+), 210 deletions(-) delete mode 100644 config/homes/violet@quartz.nix delete mode 100644 config/hosts/x86_64-linux/quartz/default.nix delete mode 100644 config/hosts/x86_64-linux/quartz/hardware-configuration.nix diff --git a/config/homes/violet@quartz.nix b/config/homes/violet@quartz.nix deleted file mode 100644 index edd1b96..0000000 --- a/config/homes/violet@quartz.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ - pkgs, - homeManagerConfig, - ... -}: -let - f3RikoIdolized2x = pkgs.fetchurl { - url = "https://i.idol.st/u/card/art/2x/894UR-Sakurauchi-Riko-You-mentioned-you-liked-it-no-A-Fairy-Concert-l5NeuT.png"; - hash = "sha512-frrj8k8ap8Rs8MIyk96TsAJWEG7mw0d477Axgv2ITJe1CsffpEhqP4zPx4jM9uLF3pSdDhMYIzxHmX8u4ztgEQ=="; - }; -in -{ - imports = [ - ./violet.nix - homeManagerConfig.plasma - ]; - home.stateVersion = "24.05"; - programs.plasma.workspace.wallpaper = "${f3RikoIdolized2x}"; - programs.plasma.configFile.kdeglobals.General.AccentColor = "255,158,172"; -} diff --git a/config/hosts/x86_64-linux/quartz/default.nix b/config/hosts/x86_64-linux/quartz/default.nix deleted file mode 100644 index 44d6e49..0000000 --- a/config/hosts/x86_64-linux/quartz/default.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ - config, - lib, - pkgs, - modules, - inputs, - systemName, - ... -}: - -let - users = [ "violet" ]; -in -{ - imports = [ - ./hardware-configuration.nix - inputs.lix-module.nixosModules.default - modules.nixos.builders.default - modules.nixos.hardware.intel - modules.nixos.hardware.gpu.intel - modules.nixos.hardware.gpu.nvidia - modules.nixos.lanzaboote.default - modules.nixos.home-manager - modules.nixos.desktop.plasma - modules.nixos.plymouth - modules.nixos.steam - modules.nixos.net.networkd-wifi - ] ++ builtins.map (user: modules.nixos.users.${user}) users; - home-manager.users = lib.genAttrs users (user: modules.homes."${user}@${systemName}"); - boot.kernelPackages = pkgs.linuxPackages_latest; - hardware.nvidia.prime = { - offload.enable = true; - offload.enableOffloadCmd = true; - nvidiaBusId = "PCI:1:0:0"; - intelBusId = "PCI:0:2:0"; - }; - hardware.bluetooth.enable = true; - system.stateVersion = "24.11"; - services = { - sunshine = { - autoStart = true; - enable = true; - capSysAdmin = true; - openFirewall = true; - }; - }; -} diff --git a/config/hosts/x86_64-linux/quartz/hardware-configuration.nix b/config/hosts/x86_64-linux/quartz/hardware-configuration.nix deleted file mode 100644 index 60b8fd5..0000000 --- a/config/hosts/x86_64-linux/quartz/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 = [ - "xhci_pci" - "nvme" - ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = { - device = "/dev/disk/by-uuid/0837c4f9-4164-4e08-8ec4-af945755a50a"; - fsType = "xfs"; - }; - - boot.initrd.luks.devices."root".device = "/dev/disk/by-uuid/aecfc3cd-7c6c-44fe-9875-74b1a70c1d5f"; - - fileSystems."/boot" = { - device = "/dev/disk/by-uuid/10E6-B680"; - fsType = "vfat"; - options = [ - "fmask=0022" - "dmask=0022" - ]; - }; - - 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.enp3s0.useDHCP = lib.mkDefault true; - # networking.interfaces.wlan0.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -} diff --git a/flake.lock b/flake.lock index a86a24c..5fc424b 100644 --- a/flake.lock +++ b/flake.lock @@ -97,24 +97,6 @@ } }, "flake-utils_2": { - "inputs": { - "systems": "systems_2" - }, - "locked": { - "lastModified": 1726560853, - "narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "flake-utils_3": { "locked": { "lastModified": 1659877975, "narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=", @@ -129,21 +111,6 @@ "type": "github" } }, - "flakey-profile": { - "locked": { - "lastModified": 1712898590, - "narHash": "sha256-FhGIEU93VHAChKEXx905TSiPZKga69bWl1VB37FK//I=", - "owner": "lf-", - "repo": "flakey-profile", - "rev": "243c903fd8eadc0f63d205665a92d4df91d42d9d", - "type": "github" - }, - "original": { - "owner": "lf-", - "repo": "flakey-profile", - "type": "github" - } - }, "gitignore": { "inputs": { "nixpkgs": [ @@ -213,44 +180,9 @@ "type": "github" } }, - "lix": { - "flake": false, - "locked": { - "lastModified": 1729298361, - "narHash": "sha256-hiGtfzxFkDc9TSYsb96Whg0vnqBVV7CUxyscZNhed0U=", - "rev": "ad9d06f7838a25beec425ff406fe68721fef73be", - "type": "tarball", - "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/ad9d06f7838a25beec425ff406fe68721fef73be.tar.gz?rev=ad9d06f7838a25beec425ff406fe68721fef73be" - }, - "original": { - "type": "tarball", - "url": "https://git.lix.systems/lix-project/lix/archive/2.91.1.tar.gz" - } - }, - "lix-module": { - "inputs": { - "flake-utils": "flake-utils_2", - "flakey-profile": "flakey-profile", - "lix": "lix", - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1732605668, - "narHash": "sha256-DN5/166jhiiAW0Uw6nueXaGTueVxhfZISAkoxasmz/g=", - "rev": "f19bd752910bbe3a861c9cad269bd078689d50fe", - "type": "tarball", - "url": "https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/f19bd752910bbe3a861c9cad269bd078689d50fe.tar.gz" - }, - "original": { - "type": "tarball", - "url": "https://git.lix.systems/lix-project/nixos-module/archive/2.91.1-2.tar.gz" - } - }, "nixgl": { "inputs": { - "flake-utils": "flake-utils_3", + "flake-utils": "flake-utils_2", "nixpkgs": [ "nixpkgs" ] @@ -271,11 +203,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1735291276, - "narHash": "sha256-NYVcA06+blsLG6wpAbSPTCyLvxD/92Hy4vlY9WxFI1M=", + "lastModified": 1735471104, + "narHash": "sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "634fd46801442d760e09493a794c4f15db2d0cbb", + "rev": "88195a94f390381c6afcdaa933c2f6ff93959cb4", "type": "github" }, "original": { @@ -356,7 +288,6 @@ "disko": "disko", "home-manager": "home-manager", "lanzaboote": "lanzaboote", - "lix-module": "lix-module", "nixgl": "nixgl", "nixpkgs": "nixpkgs", "plasma-manager": "plasma-manager", @@ -424,21 +355,6 @@ "type": "github" } }, - "systems_2": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - }, "treefmt-nix": { "inputs": { "nixpkgs": [ diff --git a/flake.nix b/flake.nix index f7f7783..b6f0273 100644 --- a/flake.nix +++ b/flake.nix @@ -17,10 +17,6 @@ url = "github:Mic92/sops-nix"; inputs.nixpkgs.follows = "nixpkgs"; }; - lix-module = { - url = "https://git.lix.systems/lix-project/nixos-module/archive/2.91.1-2.tar.gz"; - inputs.nixpkgs.follows = "nixpkgs"; - }; plasma-manager = { url = "github:nix-community/plasma-manager"; inputs.nixpkgs.follows = "nixpkgs";