mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
remove old hosts
This commit is contained in:
parent
7a3fa19df1
commit
c9c637e90d
3 changed files with 0 additions and 70 deletions
|
@ -15,6 +15,4 @@ builtins.mapAttrs
|
|||
cube = "x86_64-linux";
|
||||
hp = "x86_64-linux";
|
||||
lenny = "x86_64-linux";
|
||||
nixdev = "x86_64-linux";
|
||||
slate = "x86_64-linux";
|
||||
}
|
||||
|
|
|
@ -1,44 +0,0 @@
|
|||
{ config, lib, modulesPath, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
"${modulesPath}/profiles/qemu-guest.nix"
|
||||
];
|
||||
|
||||
sconfig = {
|
||||
gnome = true;
|
||||
profile = "desktop";
|
||||
};
|
||||
|
||||
services.qemuGuest.enable = true;
|
||||
|
||||
users.mutableUsers = false;
|
||||
users.users.root.passwordFile = "/nix/persist/shadow_sean";
|
||||
users.users.sean.passwordFile = "/nix/persist/shadow_sean";
|
||||
|
||||
environment.variables.GTK_THEME = "Adwaita-dark";
|
||||
|
||||
environment.etc =
|
||||
lib.genAttrs
|
||||
[
|
||||
"machine-id"
|
||||
"ssh/ssh_host_ed25519_key"
|
||||
"ssh/ssh_host_rsa_key"
|
||||
]
|
||||
(name: { source = "/nix/persist/etc/${name}"; });
|
||||
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
mirroredBoots = [{
|
||||
path = "/nix/persist/boot";
|
||||
devices = [ "/dev/sda" ];
|
||||
}];
|
||||
};
|
||||
|
||||
fileSystems =
|
||||
{
|
||||
"/" = { device = "tmpfs"; fsType = "tmpfs"; options = [ "mode=755" ]; };
|
||||
"/nix" = { device = "/dev/sda1"; fsType = "ext4"; options = [ "noatime" ]; };
|
||||
};
|
||||
|
||||
system.stateVersion = "22.05";
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
sconfig = {
|
||||
profile = "desktop";
|
||||
gnome = true;
|
||||
};
|
||||
|
||||
boot = {
|
||||
loader.systemd-boot.enable = true;
|
||||
loader.efi.canTouchEfiVariables = true;
|
||||
initrd.luks.devices.cryptroot = { device = "/dev/disk/by-partlabel/_luks"; };
|
||||
};
|
||||
|
||||
hardware.cpu.intel.updateMicrocode = true;
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
|
||||
fileSystems = {
|
||||
"/" = { device = "/dev/mapper/cryptroot"; fsType = "btrfs"; options = [ "subvol=/os" "discard" "compress=zstd" ]; };
|
||||
"/home" = { device = "/dev/mapper/cryptroot"; fsType = "btrfs"; options = [ "subvol=/home" "discard" "compress=zstd" ]; };
|
||||
"/boot" = { device = "/dev/disk/by-partlabel/_esp"; fsType = "vfat"; };
|
||||
};
|
||||
|
||||
system.stateVersion = "21.05";
|
||||
}
|
Loading…
Reference in a new issue