mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
add hosts/manta
This commit is contained in:
parent
92263cd97e
commit
66b39dcfb6
2 changed files with 31 additions and 0 deletions
30
hosts/configuration_manta.nix
Normal file
30
hosts/configuration_manta.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = [ pkgs.vmware-horizon-client ];
|
||||
|
||||
services.tlp.enable = true;
|
||||
services.openssh.enable = true;
|
||||
|
||||
networking.hostName = "manta";
|
||||
networking.search = [ "bck.me" ];
|
||||
|
||||
sconfig = {
|
||||
profile = "desktop";
|
||||
gnome = true;
|
||||
security-tools = true;
|
||||
};
|
||||
|
||||
boot = {
|
||||
loader.systemd-boot.enable = true;
|
||||
loader.efi.canTouchEfiVariables = true;
|
||||
initrd.luks.devices.cryptroot = { device = "/dev/disk/by-partlabel/_root"; allowDiscards = true; };
|
||||
};
|
||||
|
||||
fileSystems = {
|
||||
"/" = { device = "/dev/mapper/cryptroot"; fsType = "btrfs"; options = [ "subvol=/os" "compress=zstd" "discard" ]; };
|
||||
"/home" = { device = "/dev/mapper/cryptroot"; fsType = "btrfs"; options = [ "subvol=/home" "compress=zstd" "discard" ]; };
|
||||
"/boot" = { device = "/dev/disk/by-partlabel/_esp"; fsType = "vfat"; };
|
||||
};
|
||||
|
||||
system.stateVersion = "20.09";
|
||||
}
|
|
@ -30,4 +30,5 @@ let
|
|||
in
|
||||
{
|
||||
vm = mkQemuSystem { name = "vm"; pkgs = nixpkgs; };
|
||||
manta = mkStandardSystem { name = "manta"; pkgs = nixpkgs; };
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue