Skip to content

Commit

Permalink
tp3: disable/rm lanzaboote
Browse files Browse the repository at this point in the history
  • Loading branch information
elohmeier committed Dec 29, 2024
1 parent d4dfc8b commit c609e6d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 113 deletions.
94 changes: 0 additions & 94 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 0 additions & 9 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,6 @@
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";
};
lanzaboote = {
url = "github:nix-community/lanzaboote/v0.3.0";
inputs.flake-compat.follows = "flake-compat";
inputs.flake-parts.follows = "flake-parts";
inputs.flake-utils.follows = "flake-utils";
inputs.nixpkgs.follows = "nixpkgs";
inputs.pre-commit-hooks-nix.follows = "pre-commit-hooks";
};
nvim-config = {
url = "github:elohmeier/nvim-config";
inputs.devshell.follows = "devshell";
Expand Down Expand Up @@ -155,7 +147,6 @@
# , disko
# , flake-utils
# , home-manager
# , lanzaboote
# , nixos-hardware
# , nixpkgs
# , nixpkgs-unstable
Expand Down
1 change: 0 additions & 1 deletion modules/nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ in
tp3 = nixosSystemFor "x86_64-linux" [
inputs.disko.nixosModules.disko
inputs.home-manager.nixosModule
inputs.lanzaboote.nixosModules.lanzaboote
inputs.nix95.nixosModules.nix95
inputs.sops-nix.nixosModules.default
self.nixosModules.defaults
Expand Down
17 changes: 8 additions & 9 deletions modules/nixos/tp3/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,39 +10,39 @@
./modules/disko.nix
];

networking.hostName = "tp3";
networking.hostId = "c1acffeb";

system.stateVersion = "24.11";
networking.hostName = "tp3";

ptsd.tailscale.enable = true;

programs.fish.enable = true;

time.timeZone = "Europe/Berlin";

services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};

services.fwupd.enable = true;

boot = {
kernelParams = [
"mitigations=off" # make linux fast again
"acpi_backlight=native" # force thinkpad_acpi driver
"amd_pstate=active"
];

# lanzaboote = {
# enable = true;
# pkiBundle = "/nix/persistent/etc/secureboot";
# configurationLimit = 7;
# };

loader = {
systemd-boot.enable = true;
# systemd-boot.enable = lib.mkForce false; # replaced by lanzaboote
systemd-boot.editor = false;
efi.canTouchEfiVariables = true;
};

initrd = {
availableKernelModules = [
"ahci"
Expand Down Expand Up @@ -117,7 +117,6 @@
pkgs.libcanberra-gtk3
pkgs.powertop
pkgs.python3 # required by proton (steam)
pkgs.sbctl
pkgs.vulkan-tools
pkgs.wirelesstools
];
Expand Down

0 comments on commit c609e6d

Please sign in to comment.