mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
add hosts/neo
This commit is contained in:
parent
90e98fd294
commit
6b4c8d8a0c
2 changed files with 36 additions and 0 deletions
35
hosts/configuration_neo.nix
Normal file
35
hosts/configuration_neo.nix
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
sconfig = {
|
||||||
|
gnome = true;
|
||||||
|
profile = "desktop";
|
||||||
|
security-tools = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
networking = {
|
||||||
|
hostName = "neo";
|
||||||
|
search = [ "bck.me" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = [ pkgs.vmware-horizon-client ];
|
||||||
|
|
||||||
|
services = {
|
||||||
|
pcscd.enable = true;
|
||||||
|
openssh.enable = true;
|
||||||
|
zfs.autoSnapshot = { enable = true; monthly = 0; weekly = 0; };
|
||||||
|
};
|
||||||
|
|
||||||
|
boot = {
|
||||||
|
loader.systemd-boot.enable = true;
|
||||||
|
loader.efi.canTouchEfiVariables = true;
|
||||||
|
kernelPackages = pkgs.linuxPackages_5_10;
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems = {
|
||||||
|
"/" = { device = "zroot/locker/os"; fsType = "zfs"; };
|
||||||
|
"/home" = { device = "zroot/locker/home"; fsType = "zfs"; };
|
||||||
|
"/boot" = { device = "/dev/disk/by-partlabel/_esp"; fsType = "vfat"; };
|
||||||
|
};
|
||||||
|
|
||||||
|
system.stateVersion = "20.09";
|
||||||
|
}
|
|
@ -32,4 +32,5 @@ in
|
||||||
vm = mkQemuSystem { name = "vm"; pkgs = nixpkgs; };
|
vm = mkQemuSystem { name = "vm"; pkgs = nixpkgs; };
|
||||||
hp = mkStandardSystem { name = "hp"; pkgs = nixpkgs; };
|
hp = mkStandardSystem { name = "hp"; pkgs = nixpkgs; };
|
||||||
manta = mkStandardSystem { name = "manta"; pkgs = nixpkgs; };
|
manta = mkStandardSystem { name = "manta"; pkgs = nixpkgs; };
|
||||||
|
neo = mkStandardSystem { name = "neo"; pkgs = nixpkgs; };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue