mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
hypercube: init
This commit is contained in:
parent
6e7ea74cd2
commit
3ef9c2d37f
2 changed files with 38 additions and 0 deletions
32
hosts/hypercube/configuration.nix
Normal file
32
hosts/hypercube/configuration.nix
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
sconfig = {
|
||||||
|
gnome = true;
|
||||||
|
profile = "desktop";
|
||||||
|
security-tools = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
networking.search = [ "bck.me" ];
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
wine
|
||||||
|
vmware-horizon-client
|
||||||
|
];
|
||||||
|
|
||||||
|
services.openssh.enable = true;
|
||||||
|
|
||||||
|
boot = {
|
||||||
|
loader.systemd-boot.enable = true;
|
||||||
|
loader.efi.canTouchEfiVariables = true;
|
||||||
|
kernelParams = map (x: "video=DP-${x}:1280x720@60") [ "0" "1" "2" ];
|
||||||
|
initrd.luks.devices.cryptroot1 = { allowDiscards = true; device = "/dev/disk/by-partlabel/_root1"; };
|
||||||
|
initrd.luks.devices.cryptroot2 = { allowDiscards = true; device = "/dev/disk/by-partlabel/_root2"; };
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems = {
|
||||||
|
"/" = { device = "/dev/disk/by-label/_root"; fsType = "btrfs"; options = [ "discard" "compress=zstd:1" ]; };
|
||||||
|
"/boot" = { device = "/dev/disk/by-partlabel/_esp"; fsType = "vfat"; };
|
||||||
|
};
|
||||||
|
|
||||||
|
system.stateVersion = "21.05";
|
||||||
|
}
|
6
hosts/hypercube/default.nix
Normal file
6
hosts/hypercube/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
pkgs = "nixpkgs";
|
||||||
|
system = "x86_64-linux";
|
||||||
|
hardware = "physical";
|
||||||
|
module = ./configuration.nix;
|
||||||
|
}
|
Loading…
Reference in a new issue