cake.r: use nixos-hardware module
This commit is contained in:
parent
c0e18e4564
commit
3d00ca5aac
|
@ -3,30 +3,30 @@ let
|
||||||
primaryInterface = "eth0";
|
primaryInterface = "eth0";
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
<stockholm/makefu>
|
|
||||||
./hardware-config.nix
|
./hardware-config.nix
|
||||||
<stockholm/makefu/2configs/home-manager>
|
../../2configs
|
||||||
<stockholm/makefu/2configs/home/3dprint.nix>
|
../../2configs/home-manager
|
||||||
|
../../2configs/home/3dprint.nix
|
||||||
#./hardware-config.nix
|
#./hardware-config.nix
|
||||||
{ environment.systemPackages = with pkgs;[ rsync screen curl git tmux picocom mosh ];}
|
{ environment.systemPackages = with pkgs;[ rsync screen curl git tmux picocom mosh ];}
|
||||||
# <stockholm/makefu/2configs/tools/core.nix>
|
# ../../2configs/tools/core.nix
|
||||||
<stockholm/makefu/2configs/binary-cache/nixos.nix>
|
../../2configs/binary-cache/nixos.nix
|
||||||
#<stockholm/makefu/2configs/support-nixos.nix>
|
#../../2configs/support-nixos.nix
|
||||||
# <stockholm/makefu/2configs/homeautomation/default.nix>
|
# ../../2configs/homeautomation/default.nix
|
||||||
# <stockholm/makefu/2configs/homeautomation/google-muell.nix>
|
# ../../2configs/homeautomation/google-muell.nix
|
||||||
# <stockholm/makefu/2configs/hw/pseyecam.nix>
|
# ../../2configs/hw/pseyecam.nix
|
||||||
# configure your hw:
|
# configure your hw:
|
||||||
# <stockholm/makefu/2configs/save-diskspace.nix>
|
# ../../2configs/save-diskspace.nix
|
||||||
|
|
||||||
# directly use the alsa device instead of attaching to pulse
|
# directly use the alsa device instead of attaching to pulse
|
||||||
|
|
||||||
<stockholm/makefu/2configs/audio/respeaker.nix>
|
../../2configs/tinc/retiolum.nix
|
||||||
<stockholm/makefu/2configs/home/rhasspy/default.nix>
|
../../2configs/audio/respeaker.nix
|
||||||
<stockholm/makefu/2configs/home/rhasspy/led-control.nix>
|
../../2configs/home/rhasspy/default.nix
|
||||||
|
../../2configs/home/rhasspy/led-control.nix
|
||||||
];
|
];
|
||||||
krebs = {
|
krebs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
tinc.retiolum.enable = true;
|
|
||||||
build.host = config.krebs.hosts.cake;
|
build.host = config.krebs.hosts.cake;
|
||||||
};
|
};
|
||||||
# ensure disk usage is limited
|
# ensure disk usage is limited
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ pkgs, lib, ... }:
|
{ pkgs, lib, nixos-hardware,... }:
|
||||||
{
|
{
|
||||||
environment.systemPackages = [ pkgs.libraspberrypi ];
|
environment.systemPackages = [ pkgs.libraspberrypi ];
|
||||||
imports = [ <nixos-hardware/raspberry-pi/4> ];
|
imports = [ nixos-hardware.nixosModules.raspberry-pi-4 ];
|
||||||
boot.kernelPackages = pkgs.linuxPackages_rpi4;
|
boot.kernelPackages = pkgs.linuxPackages_rpi4;
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
"/" = {
|
"/" = {
|
||||||
|
|
Loading…
Reference in a new issue