summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2024-03-20 16:47:56 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2024-03-20 16:47:56 +0530
commitd7be8b48334e81d1679be7d94cfe19505d76170e (patch)
treea0524152a9c07ebebafbd0ecb050ee699fff1985
parent1c2aeff7f458cd8bc63bdcc6930b88d886748907 (diff)
update
-rw-r--r--flake.lock12
-rw-r--r--machines/x/configuration.nix1
-rw-r--r--modules/passthrough.nix15
-rw-r--r--modules/supergfxd.conf9
4 files changed, 6 insertions, 31 deletions
diff --git a/flake.lock b/flake.lock
index cad9c65..e25ef16 100644
--- a/flake.lock
+++ b/flake.lock
@@ -7,11 +7,11 @@
]
},
"locked": {
- "lastModified": 1710532761,
- "narHash": "sha256-SUXGZNrXX05YA9G6EmgupxhOr3swI1gcxLUeDMUhrEY=",
+ "lastModified": 1710820906,
+ "narHash": "sha256-2bNMraoRB4pdw/HtxgYTFeMhEekBZeQ53/a8xkqpbZc=",
"owner": "nix-community",
"repo": "home-manager",
- "rev": "206f457fffdb9a73596a4cb2211a471bd305243d",
+ "rev": "022464438a85450abb23d93b91aa82e0addd71fb",
"type": "github"
},
"original": {
@@ -22,11 +22,11 @@
},
"nixpkgs": {
"locked": {
- "lastModified": 1710631334,
- "narHash": "sha256-rL5LSYd85kplL5othxK5lmAtjyMOBg390sGBTb3LRMM=",
+ "lastModified": 1710806803,
+ "narHash": "sha256-qrxvLS888pNJFwJdK+hf1wpRCSQcqA6W5+Ox202NDa0=",
"owner": "nixos",
"repo": "nixpkgs",
- "rev": "c75037bbf9093a2acb617804ee46320d6d1fea5a",
+ "rev": "b06025f1533a1e07b6db3e75151caa155d1c7eb3",
"type": "github"
},
"original": {
diff --git a/machines/x/configuration.nix b/machines/x/configuration.nix
index 8a58bcb..34f175b 100644
--- a/machines/x/configuration.nix
+++ b/machines/x/configuration.nix
@@ -15,7 +15,6 @@
"compromyse.nix"
"login.nix"
"virtualization.nix"
- "passthrough.nix"
]);
boot.loader.systemd-boot.enable = true;
diff --git a/modules/passthrough.nix b/modules/passthrough.nix
deleted file mode 100644
index 3629ef9..0000000
--- a/modules/passthrough.nix
+++ /dev/null
@@ -1,15 +0,0 @@
-{ pkgs, lib, config, ... }:
-
-{
- environment.systemPackages = with pkgs; [
- supergfxctl
- lsof
- ];
-
- services.supergfxd.enable = true;
-
- environment.etc."supergfxd.conf" = {
- source = ./supergfxd.conf;
- mode = "0644";
- };
-}
diff --git a/modules/supergfxd.conf b/modules/supergfxd.conf
deleted file mode 100644
index 7e21545..0000000
--- a/modules/supergfxd.conf
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "mode": "Hybrid",
- "vfio_enable": true,
- "vfio_save": true,
- "always_reboot": false,
- "no_logind": false,
- "logout_timeout_s": 180,
- "hotplug_type": "None"
-}