add all components for the heimserver

This commit is contained in:
Stefan Kempinger 2026-01-20 13:49:09 +01:00
parent c403ecbae0
commit f7be91ca0e
5 changed files with 533 additions and 83 deletions

View file

@ -34,36 +34,17 @@
})
];
};
supportedFilesystems = [ "ntfs" ];
# Enable "Silent boot"
consoleLogLevel = 3;
initrd.verbose = false;
initrd.systemd.enable = true;
#bad: 6.12.62
#bad: 6.17.12
#good: 6.12.59
#bad: 6.12.60
#kernelPackages = (import inputs.nixpkgs-safe {system = "x86_64-linux"; }).linuxPackages;
#kernelPackages = pkgs.linuxPackages_6_17;
kernelPackages = pkgs.linuxPackagesFor (pkgs.linux_6_12.override { # (#4)
argsOverride = rec {
src = pkgs.fetchFromGitHub {
owner = "torvalds";
repo = "linux";
# (#1) -> put the bisect revision here
rev = "17c3a66d7ea2d303f783796d62f99e2e23b68c90";
# (#2) -> clear the sha; run a build, get the sha, populate the sha
sha256 = "sha256-2XyrJmaZPa2TaVrwwjXM0z3Dyj794FDdmOTyRuH3z/A=";
};
dontStrip = true;
# (#3) `head Makefile` from the kernel and put the right version numbers here
version = "6.12.59";
modDirVersion = "6.12.59";
};
});
kernelPackages = pkgs.linuxPackages_latest;
kernelParams = [
"quiet"
"splash"
@ -80,8 +61,8 @@
#loader.systemd-boot.configurationLimit = 3;
lanzaboote = {
enable = true;
pkiBundle = "/var/lib/sbctl";
enable = true;
pkiBundle = "/var/lib/sbctl";
};
};
@ -122,20 +103,20 @@
usbutils
inetutils
pciutils
git
git
pkg-config
openssl
tree
rustc
cargo
rustfmt
rustfmt
edid-decode
file
acpica-tools
ethtool
cmake
ethtool
cmake
zip
texlive.combined.scheme-full
texlive.combined.scheme-full
distrobox
lshw
sbctl
@ -151,10 +132,10 @@
gnumake
xz
android-tools
# GUI programs
android-studio-full
# GUI programs
android-studio-full
zed-editor
nautilus
zoom-us
@ -162,16 +143,16 @@
prismlauncher
qdirstat
zenmap
mission-center
mission-center
seahorse
texstudio
(pkgs.wrapFirefox (pkgs.firefox-unwrapped.override { pipewireSupport = true;}) {})
(pkgs.wrapFirefox (pkgs.firefox-unwrapped.override { pipewireSupport = true; }) { })
google-chrome
tor-browser
zathura
vlc
jetbrains.idea
# Libreoffice
libreoffice-qt
hunspell
@ -192,8 +173,7 @@
nixd
rust-analyzer
#cargotom
#niri
#alacritty fuzzel swaylock mako swayidle
];
@ -210,7 +190,7 @@
services.pipewire.enable = true;
services.fprintd.enable = true;
services.flatpak.enable = true;
services.printing.enable = true;
services.printing.enable = true;
services.hardware.bolt.enable = true;
services.printing.drivers = [ pkgs.hplipWithPlugin ];
services.avahi = {
@ -220,22 +200,21 @@
};
services.gnome.gnome-keyring.enable = true; # secret service
security.pam.services.login.enableGnomeKeyring = true;
security.pam.services.login.fprintAuth = true;
security.polkit.enable = true; # polkit
programs.nix-ld = {
enable = true;
libraries = pkgs.steam-run.args.multiPkgs pkgs;
};
enable = true;
libraries = pkgs.steam-run.args.multiPkgs pkgs;
};
#programs.niri.enable = true;
#security.pam.services.swaylock = {};
#programs.waybar.enable = true; # top bar
programs.firefox.enable = true;
programs.wireshark.enable = true;
programs.firefox.enable = true;
programs.wireshark.enable = true;
programs.wireshark.package = pkgs.wireshark;
programs.fish = {
enable = true;
@ -254,19 +233,18 @@
};
programs.virt-manager.enable = true;
virtualisation.podman = {
enable = true;
dockerCompat = true;
};
virtualisation.libvirtd.enable = true;
virtualisation.libvirtd.enable = true;
systemd.user.extraConfig = ''
DefaultEnvironment="PATH=/run/wrappers/bin:/home/%u/.nix-profile/bin:/nix/profile/bin:/home/%u/.local/state/nix/profile/bin:/etc/profiles/per-user/%u/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin"
'';
powerManagement.powertop.enable = true;
powerManagement.powertop.enable = true;
# This option defines the first version of NixOS you have installed on this particular machine,
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.