flake: remove iMac-NixOS

This commit is contained in:
Guanran Wang 2023-10-27 00:13:44 +08:00
parent 1eab1dc30f
commit 180da0e0f9
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
4 changed files with 0 additions and 74 deletions

View file

@ -97,23 +97,6 @@
}
];
};
## Currently un-used.
"iMac-NixOS" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./nixos/presets/desktop.nix
./users/guanranwang/nixos/presets/desktop.nix
./machines/nixos/imac-2017
./machines/nixos/imac-2017/machine-1
{
networking.hostName = "iMac-NixOS";
time.timeZone = "Asia/Shanghai";
}
];
};
};
@ -156,24 +139,6 @@
}
];
};
"guanranwang@imac-nixos" = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.x86_64-linux;
extraSpecialArgs = { inherit inputs; };
modules = [
sops-nix.homeManagerModules.sops
hyprland.homeManagerModules.default
{
wayland.windowManager.hyprland = {
enable = true;
#enableNvidiaPatches = true;
xwayland = {
enable = true;
};
};
}
];
};
};
};
}

View file

@ -1,8 +0,0 @@
{ ... }:
{
imports = [
./partition.nix
./luks.nix
];
}

View file

@ -1,14 +0,0 @@
{ ... }:
# I have no idea what are those options
# and I dont use LUKS on my main machine...
# Assuming those are LUKS stuff :P
#
# it just works(tm)
{
# Setup keyfile
boot.initrd.secrets = {
"/crypto_keyfile.bin" = null;
};
boot.initrd.luks.devices."luks-998ea901-91c0-4c20-82f4-5dbcce1e1877".device = "/dev/disk/by-uuid/998ea901-91c0-4c20-82f4-5dbcce1e1877";
}

View file

@ -1,17 +0,0 @@
{ ... }:
{
fileSystems = {
"/boot" = {
device = "/dev/disk/by-uuid/67E3-17ED";
fsType = "vfat";
};
"/" = {
device = "/dev/disk/by-uuid/571588f1-dc9c-4804-a89c-995a667e0574";
fsType = "ext4";
};
};
swapDevices = [ ];
}