cleanup(host@doloro): changing paths of modules

This commit is contained in:
2025-10-15 20:01:17 +01:00
parent 0f1dbdb482
commit b57d7f81ef
3 changed files with 17 additions and 17 deletions

View File

@@ -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
];

View 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";
};
};
};
};
};
};
};
};
};
}

View File

@@ -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.