cleanup(host@doloro): changing paths of modules
This commit is contained in:
@@ -13,11 +13,11 @@
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
./modules/greetd/nixos.nix
|
||||
./modules/stylix/nixos.nix
|
||||
./modules/steam/nixos.nix
|
||||
./modules/hyprland/nixos.nix
|
||||
./disks.nix
|
||||
../../modules/greetd/nixos.nix
|
||||
../../modules/stylix/nixos.nix
|
||||
../../modules/steam/nixos.nix
|
||||
../../modules/hyprland/nixos.nix
|
||||
../../disks.nix
|
||||
./overlays.nix
|
||||
];
|
||||
|
||||
|
||||
66
nix/hosts/doloro/disks.nix
Normal file
66
nix/hosts/doloro/disks.nix
Normal file
@@ -0,0 +1,66 @@
|
||||
{
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
inputs.disko.nixosModules.disko
|
||||
];
|
||||
disko.devices = {
|
||||
disk = {
|
||||
main = {
|
||||
device = lib.mkDefault "/dev/disk/by-id/nvme-CT1000P2SSD8_2221E632CD1F";
|
||||
type = "disk";
|
||||
content = {
|
||||
type = "gpt";
|
||||
partitions = {
|
||||
boot = {
|
||||
name = "boot";
|
||||
size = "1M";
|
||||
type = "EF02";
|
||||
};
|
||||
ESP = {
|
||||
name = "ESP";
|
||||
priority = 1;
|
||||
size = "4G";
|
||||
type = "EF00";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "vfat";
|
||||
mountpoint = "/boot";
|
||||
mountOptions = [ "umask=0077" ];
|
||||
};
|
||||
};
|
||||
root = {
|
||||
size = "100%";
|
||||
content = {
|
||||
type = "btrfs";
|
||||
extraArgs = [ "-f" ]; # Override existing partition
|
||||
# Subvolumes must set a mountpoint in order to be mounted,
|
||||
# unless their parent is mounted
|
||||
subvolumes = {
|
||||
# Subvolume name is different from mountpoint
|
||||
"@" = {
|
||||
mountpoint = "/";
|
||||
};
|
||||
# Subvolume name is the same as the mountpoint
|
||||
"@home" = {
|
||||
mountpoint = "/home";
|
||||
};
|
||||
# Parent is not mounted so the mountpoint must be set
|
||||
"@nix" = {
|
||||
mountpoint = "/nix";
|
||||
};
|
||||
"@blackhole" = {
|
||||
mountpoint = "/var/blackhole";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -8,20 +8,20 @@
|
||||
|
||||
{
|
||||
imports = [
|
||||
./modules/hyprland/home.nix
|
||||
./modules/quickshell/home.nix
|
||||
./modules/chromium/home.nix
|
||||
../../modules/hyprland/home.nix
|
||||
../../modules/quickshell/home.nix
|
||||
../../modules/chromium/home.nix
|
||||
#./modules/neovim/home.nix
|
||||
./modules/stylix/home.nix
|
||||
./modules/nixvim/home.nix
|
||||
./modules/tmux/home.nix
|
||||
./modules/theme/home.nix
|
||||
../../modules/stylix/home.nix
|
||||
../../modules/nixvim/home.nix
|
||||
../../modules/tmux/home.nix
|
||||
../../modules/theme/home.nix
|
||||
# ./modules/spicetify/home.nix
|
||||
./modules/obs/home.nix
|
||||
./modules/blender/home.nix
|
||||
./modules/fish/home.nix
|
||||
./modules/ytm/home.nix
|
||||
./overlays.nix
|
||||
../../modules/obs/home.nix
|
||||
../../modules/blender/home.nix
|
||||
../../modules/fish/home.nix
|
||||
../../modules/ytm/home.nix
|
||||
../../overlays.nix
|
||||
];
|
||||
# Home Manager needs a bit of information about you and the paths it should
|
||||
# manage.
|
||||
|
||||
Reference in New Issue
Block a user