mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 02:28:37 +02:00
Auto: cleanup-2026-06-04T16-10-09Z
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
_: {
|
_: {
|
||||||
flake.diskoConfigurations.desktop = _: {
|
flake.diskoConfigurations.desktop = _: {
|
||||||
disko.devices = {
|
disko.devices = {
|
||||||
disk = {
|
disk = {
|
||||||
ssd = {
|
ssd = {
|
||||||
# Replace with actual disk id from:
|
# Replace with actual disk id from:
|
||||||
# ls -l /dev/disk/by-id
|
# ls -l /dev/disk/by-id
|
||||||
@@ -37,7 +37,7 @@ disk = {
|
|||||||
content = {
|
content = {
|
||||||
type = "btrfs";
|
type = "btrfs";
|
||||||
|
|
||||||
extraArgs = [ "-f" ];
|
extraArgs = ["-f"];
|
||||||
|
|
||||||
subvolumes = {
|
subvolumes = {
|
||||||
"@root" = {
|
"@root" = {
|
||||||
@@ -118,5 +118,7 @@ disk = {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};};}
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|||||||
@@ -50,7 +50,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
## Desktop
|
## Desktop
|
||||||
flake.nixosModules.autoCleanup-desktop = {
|
flake.nixosModules.autoCleanup-desktop = {
|
||||||
pkgs,
|
pkgs,
|
||||||
@@ -102,7 +101,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
perSystem = {pkgs, ...}: {
|
perSystem = {pkgs, ...}: {
|
||||||
packages.custom-cleanNix-laptop = pkgs.writeShellApplication {
|
packages.custom-cleanNix-laptop = pkgs.writeShellApplication {
|
||||||
name = "custom-cleanNix";
|
name = "custom-cleanNix";
|
||||||
|
|
||||||
|
|||||||
@@ -91,7 +91,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
perSystem = {pkgs, ...}: {
|
perSystem = {pkgs, ...}: {
|
||||||
packages.custom-autoupdate-laptop = pkgs.writeShellApplication {
|
packages.custom-autoupdate-laptop = pkgs.writeShellApplication {
|
||||||
name = "custom-autoupdate";
|
name = "custom-autoupdate";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user