homelab config + shell.nix update
This commit is contained in:
parent
4a273ffd03
commit
e0e06d41a2
4 changed files with 14 additions and 3 deletions
|
|
@ -14,7 +14,8 @@ in
|
|||
|
||||
boot.loader.systemd-boot.enable = lib.mkForce false;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.initrd.systemd.enable = lib.mkForce false;
|
||||
|
||||
boot.initrd.systemd.enable = true;
|
||||
|
||||
boot.lanzaboote = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -37,7 +37,12 @@
|
|||
];
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
swapDevices = [
|
||||
{
|
||||
device = "/dev/disk/by-uuid/7786199d-8091-4959-9e3d-d6b62d2736f7";
|
||||
options = [ "discard" ];
|
||||
}
|
||||
];
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
users.users.zo = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" ];
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
config.services.kubo.group
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,5 +10,6 @@ pkgs.mkShellNoCC {
|
|||
|
||||
shellHook = ''
|
||||
# npins update
|
||||
git pull
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue