changes to x2100

This commit is contained in:
Julien Malka 2023-09-17 20:48:14 +02:00
parent 84a0969ccb
commit 4e1ed13241
Signed by: Luj
GPG key ID: 6FC74C847011FD83

View file

@ -1,20 +1,42 @@
{ config, pkgs, lib, inputs, ... }: { config, pkgs, lib, inputs, nixpkgs-patched, ... }:
{ {
imports = imports =
[ [
# Include the results of the hardware scan.
./hardware.nix ./hardware.nix
./home-julien.nix ./home-julien.nix
../../users/julien.nix ../../users/julien.nix
../../users/default.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.loader.systemd-boot.enable = lib.mkForce false;
boot.lanzaboote = { boot.lanzaboote = {
enable = true; enable = true;
pkiBundle = "/etc/secureboot"; 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"; networking.hostName = "x2100";
@ -63,6 +85,7 @@
tailscale tailscale
brightnessctl brightnessctl
sbctl sbctl
wl-mirror
]; ];
services.printing.enable = true; services.printing.enable = true;