summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2023-07-05 15:26:37 +0200
committermakefu <github@syntax-fehler.de>2023-07-05 15:26:37 +0200
commit3d00ca5aac4e9c47b6ec7395386d161fe61b71e2 (patch)
treec36fb710a44b63a9076f292dc5a7e577daa046db
parentc0e18e45644de71a169f956fbaacaf25fc4756e0 (diff)
cake.r: use nixos-hardware module
-rw-r--r--1systems/cake/config.nix28
-rw-r--r--1systems/cake/hardware-config.nix4
2 files changed, 16 insertions, 16 deletions
diff --git a/1systems/cake/config.nix b/1systems/cake/config.nix
index b9550cb2e..f167484eb 100644
--- a/1systems/cake/config.nix
+++ b/1systems/cake/config.nix
@@ -3,30 +3,30 @@ let
primaryInterface = "eth0";
in {
imports = [
- <stockholm/makefu>
./hardware-config.nix
- <stockholm/makefu/2configs/home-manager>
- <stockholm/makefu/2configs/home/3dprint.nix>
+ ../../2configs
+ ../../2configs/home-manager
+ ../../2configs/home/3dprint.nix
#./hardware-config.nix
{ environment.systemPackages = with pkgs;[ rsync screen curl git tmux picocom mosh ];}
- # <stockholm/makefu/2configs/tools/core.nix>
- <stockholm/makefu/2configs/binary-cache/nixos.nix>
- #<stockholm/makefu/2configs/support-nixos.nix>
- # <stockholm/makefu/2configs/homeautomation/default.nix>
- # <stockholm/makefu/2configs/homeautomation/google-muell.nix>
- # <stockholm/makefu/2configs/hw/pseyecam.nix>
+ # ../../2configs/tools/core.nix
+ ../../2configs/binary-cache/nixos.nix
+ #../../2configs/support-nixos.nix
+ # ../../2configs/homeautomation/default.nix
+ # ../../2configs/homeautomation/google-muell.nix
+ # ../../2configs/hw/pseyecam.nix
# configure your hw:
- # <stockholm/makefu/2configs/save-diskspace.nix>
+ # ../../2configs/save-diskspace.nix
# directly use the alsa device instead of attaching to pulse
- <stockholm/makefu/2configs/audio/respeaker.nix>
- <stockholm/makefu/2configs/home/rhasspy/default.nix>
- <stockholm/makefu/2configs/home/rhasspy/led-control.nix>
+ ../../2configs/tinc/retiolum.nix
+ ../../2configs/audio/respeaker.nix
+ ../../2configs/home/rhasspy/default.nix
+ ../../2configs/home/rhasspy/led-control.nix
];
krebs = {
enable = true;
- tinc.retiolum.enable = true;
build.host = config.krebs.hosts.cake;
};
# ensure disk usage is limited
diff --git a/1systems/cake/hardware-config.nix b/1systems/cake/hardware-config.nix
index 932aa1929..a9633af33 100644
--- a/1systems/cake/hardware-config.nix
+++ b/1systems/cake/hardware-config.nix
@@ -1,7 +1,7 @@
-{ pkgs, lib, ... }:
+{ pkgs, lib, nixos-hardware,... }:
{
environment.systemPackages = [ pkgs.libraspberrypi ];
- imports = [ <nixos-hardware/raspberry-pi/4> ];
+ imports = [ nixos-hardware.nixosModules.raspberry-pi-4 ];
boot.kernelPackages = pkgs.linuxPackages_rpi4;
fileSystems = {
"/" = {