feat: add ideapad host

This commit is contained in:
toast 2026-04-30 22:50:41 +09:00
parent bf7e249d5b
commit 7cfc801165
10 changed files with 152 additions and 5 deletions

View file

@ -0,0 +1,12 @@
{ config, pkgs, lib, ... }:
{
boot.loader.systemd-boot.enable = lib.mkForce false;
boot.loader.efi.canTouchEfiVariables = true;
boot.supportedFilesystems = [ "ntfs" ];
boot.lanzaboote = {
enable = true;
pkiBundle = "/var/lib/sbctl";
};
}

View file

@ -0,0 +1,5 @@
{
networking.hostName = "ideapad";
networking.networkmanager.enable = true;
networking.firewall.enable = false;
}

View file

@ -0,0 +1,11 @@
{ config, pkgs, ... }:
{
users.users.toast = {
isNormalUser = true;
description = "toast";
extraGroups = [ "networkmanager" "wheel" "ydotool" ];
packages = with pkgs; [];
shell = pkgs.zsh;
};
}