From 4e1ed1324172303b1452b3195fdee4bf7fbc807e Mon Sep 17 00:00:00 2001 From: Julien Malka Date: Sun, 17 Sep 2023 20:48:14 +0200 Subject: [PATCH] changes to x2100 --- machines/x2100/default.nix | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/machines/x2100/default.nix b/machines/x2100/default.nix index 92dbef4..468ca70 100644 --- a/machines/x2100/default.nix +++ b/machines/x2100/default.nix @@ -1,20 +1,42 @@ -{ config, pkgs, lib, inputs, ... }: +{ config, pkgs, lib, inputs, nixpkgs-patched, ... }: { imports = [ - # Include the results of the hardware scan. ./hardware.nix ./home-julien.nix ../../users/julien.nix ../../users/default.nix + # "${nixpkgs-patched}/nixos/modules/system/boot/systemd/initrd.nix" ]; + + #disabledModules = [ "system/boot/systemd/initrd.nix" ]; + + boot.loader.systemd-boot.enable = lib.mkForce false; boot.lanzaboote = { enable = true; pkiBundle = "/etc/secureboot"; }; + #boot.initrd.systemd.enable = true; + sound.enable = true; + #hardware.pulseaudio.enable = true; + services.pipewire = { + enable = true; + alsa.enable = true; + alsa.support32Bit = true; + pulse.enable = true; + # If you want to use JACK applications, uncomment this + #jack.enable = true; + + # use the example session manager (no others are packaged yet so this is enabled by default, + # no need to redefine it in your config for now) + #media-session.enable = true; + wireplumber.enable = true; + + }; + networking.hostName = "x2100"; @@ -63,6 +85,7 @@ tailscale brightnessctl sbctl + wl-mirror ]; services.printing.enable = true;