Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit657e01e26dd4c5a1ab39b53ed9367c12581f346b (patch)
Author
 Syndamia <kamen@syndamia.com>
2023-11-29 19:47:15 +0200
Committer
 Syndamia <kamen@syndamia.com>
2023-11-29 19:47:15 +0200
Files665ac4a183796529f224c8fdd770e5d6b037c9a1
nix-657e01e26dd4c5a1ab39b53ed9367c12581f346b.tar
nix-657e01e26dd4c5a1ab39b53ed9367c12581f346b.tar.gz
nix-657e01e26dd4c5a1ab39b53ed9367c12581f346b.zip
Parentd0caf89ffc06104cb9c077c299a96b778d5db79b (diff)
(rtl-temp) Renamed services.nix since it contains only one configuration
2 files changed, 5 insertions, 8 deletions
-rw-r--r--configuration.nix5
-rw-r--r--rtl-temp.nix (renamed from services.nix)8
diff --git a/configuration.nix b/configuration.nix
index 2263b61..6ddca8a 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -1,7 +1,6 @@
{ config, pkgs, ... }: {
- imports =
- [ # Include the results of the hardware scan.
- ./services.nix
+ imports = [
+ ./rtl-temp.nix
];
# This value determines the NixOS release from which the default
diff --git a/services.nix b/rtl-temp.nix
index 261909e..4f8f3c6 100644
--- a/services.nix
+++ b/rtl-temp.nix
@@ -1,7 +1,6 @@
{ pkgs, ... }: {
- services = {
- udev.extraRules = ''
- #
+ services.udev.extraRules = ''
+#
# Copyright 2012-2013 Osmocom rtl-sdr project
#
# This program is free software: you can redistribute it and/or modify
@@ -143,6 +142,5 @@ SUBSYSTEMS=="usb", ATTRS{idVendor}=="1f4d", ATTRS{idProduct}=="d286", ENV{ID_SOF
# PROlectrix DV107669 (FC0012)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1f4d", ATTRS{idProduct}=="d803", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
- '';
- };
+ '';
}