mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2026-05-07 13:36:24 +00:00
feat: add ideapad host
This commit is contained in:
parent
bf7e249d5b
commit
7cfc801165
10 changed files with 152 additions and 5 deletions
12
hosts/ideapad/modules/boot.nix
Normal file
12
hosts/ideapad/modules/boot.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
5
hosts/ideapad/modules/network.nix
Normal file
5
hosts/ideapad/modules/network.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
networking.hostName = "ideapad";
|
||||
networking.networkmanager.enable = true;
|
||||
networking.firewall.enable = false;
|
||||
}
|
||||
11
hosts/ideapad/modules/users.nix
Normal file
11
hosts/ideapad/modules/users.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
users.users.toast = {
|
||||
isNormalUser = true;
|
||||
description = "toast";
|
||||
extraGroups = [ "networkmanager" "wheel" "ydotool" ];
|
||||
packages = with pkgs; [];
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue