mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
add hosts/hp
This commit is contained in:
parent
473801bbdb
commit
90e98fd294
2 changed files with 32 additions and 0 deletions
31
hosts/configuration_hp.nix
Normal file
31
hosts/configuration_hp.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ ... }:
|
||||
{
|
||||
services = {
|
||||
tlp.enable = true;
|
||||
openssh.enable = true;
|
||||
};
|
||||
|
||||
sconfig = {
|
||||
gnome = true;
|
||||
profile = "desktop";
|
||||
security-tools = true;
|
||||
};
|
||||
|
||||
networking = {
|
||||
hostName = "hp";
|
||||
search = [ "bck.me" ];
|
||||
};
|
||||
|
||||
boot = {
|
||||
loader.systemd-boot.enable = true;
|
||||
loader.efi.canTouchEfiVariables = false;
|
||||
};
|
||||
|
||||
fileSystems = {
|
||||
"/" = { device = "zroot/locker/os"; fsType = "zfs"; };
|
||||
"/home" = { device = "zroot/locker/home"; fsType = "zfs"; };
|
||||
"/boot" = { device = "/dev/disk/by-partlabel/EFI\\x20system\\x20partition"; fsType = "vfat"; };
|
||||
};
|
||||
|
||||
system.stateVersion = "20.09";
|
||||
}
|
|
@ -30,5 +30,6 @@ let
|
|||
in
|
||||
{
|
||||
vm = mkQemuSystem { name = "vm"; pkgs = nixpkgs; };
|
||||
hp = mkStandardSystem { name = "hp"; pkgs = nixpkgs; };
|
||||
manta = mkStandardSystem { name = "manta"; pkgs = nixpkgs; };
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue