add ray
This commit is contained in:
parent
ace1ba950e
commit
aa18aad421
@ -26,6 +26,7 @@
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
"reg" = mkSystem "x86_64-linux" ./machines/reg/configuration.nix;
|
"reg" = mkSystem "x86_64-linux" ./machines/reg/configuration.nix;
|
||||||
|
"ray" = mkSystem "x86_64-linux" ./machines/ray/configuration.nix;
|
||||||
"mitty" = mkSystem "x86_64-linux" ./machines/mitty/configuration.nix;
|
"mitty" = mkSystem "x86_64-linux" ./machines/mitty/configuration.nix;
|
||||||
"nanachi" = mkSystem "x86_64-linux" ./machines/nanachi/configuration.nix;
|
"nanachi" = mkSystem "x86_64-linux" ./machines/nanachi/configuration.nix;
|
||||||
"riko" = mkSystem "x86_64-linux" ./machines/riko/configuration.nix;
|
"riko" = mkSystem "x86_64-linux" ./machines/riko/configuration.nix;
|
||||||
|
29
machines/ray/configuration.nix
Normal file
29
machines/ray/configuration.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{ config, pkgs, fetchurl, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./hardware-configuration.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
# 2plyinzleibb3r2jfdrzsfflwxsimdfipw2ynbfuueuvydeigwxu2kid.onion
|
||||||
|
|
||||||
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
|
||||||
|
nix.flakes.enable = true;
|
||||||
|
|
||||||
|
efi.enable = true;
|
||||||
|
|
||||||
|
luks = {
|
||||||
|
enable = true;
|
||||||
|
device = {
|
||||||
|
path = "/dev/disk/by-uuid/fbe946d3-414f-4c2e-bb24-b845870fde6c";
|
||||||
|
allowDiscards = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
networking.hostName = "ray";
|
||||||
|
|
||||||
|
de.enable = true;
|
||||||
|
de.touchpad.enable = true;
|
||||||
|
}
|
||||||
|
|
39
machines/ray/hardware-configuration.nix
Normal file
39
machines/ray/hardware-configuration.nix
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
|
# and may be overwritten by future invocations. Please make changes
|
||||||
|
# to /etc/nixos/configuration.nix instead.
|
||||||
|
{ config, lib, pkgs, modulesPath, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports =
|
||||||
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||||
|
];
|
||||||
|
|
||||||
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usbhid" "usb_storage" "sd_mod" ];
|
||||||
|
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
||||||
|
boot.kernelModules = [ "kvm-amd" ];
|
||||||
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
|
fileSystems."/" =
|
||||||
|
{ device = "/dev/mapper/vg-root";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = [ "subvol=root" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/home" =
|
||||||
|
{ device = "/dev/mapper/vg-root";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = [ "subvol=home" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/boot" =
|
||||||
|
{ device = "/dev/disk/by-uuid/CD65-4596";
|
||||||
|
fsType = "vfat";
|
||||||
|
};
|
||||||
|
|
||||||
|
swapDevices =
|
||||||
|
[ { device = "/dev/disk/by-uuid/b5f28078-9dae-42c2-a21e-54b67954cf82"; }
|
||||||
|
];
|
||||||
|
|
||||||
|
# high-resolution display
|
||||||
|
hardware.video.hidpi.enable = lib.mkDefault true;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user