refactor: drop disko, simplify inputs, centralize fuse/rclone, bump state versions

- Remove disko everywhere:
  - Delete hosts/Nixbook/disko.nix and hosts/Nixtest/disko.nix
  - Drop disko input, modules, and disko-install app
  - Update README to remove disko mention
- Simplify flake inputs:
  - Use nixpkgs = nixos-unstable only
  - Home Manager -> master (follows nixpkgs)
  - Remove nixpkgs-unstable and vscode-extensions
  - Pass allowUnfree via specialArgs
- Centralize storage tools:
  - Add fuse3 and rclone to hosts/common/default.nix
  - Remove hosts/common/rclone.nix and screen.nix
  - Add user thiago to "fuse" group
  - Drop per-host rclone packages
- NVIDIA module:
  - Use pkgs.linuxPackages.nvidiaPackages.latest (no unstable import)
  - Keep nvidiaSettings=true, open=false
  - Remove sunshine service block
- Hosts:
  - Nixstation: remove Hyprland block, zramSwap 30% -> 25%
  - Clean hardware-configuration args
- Versions:
  - system.stateVersion: 24.05 -> 25.11 (Nixstation)
  - home.stateVersion: 24.05 -> 25.11
- README: adjust Nixbook and common modules descriptions
This commit is contained in:
Thiago Sposito 2025-08-24 14:07:15 -03:00
parent 60eef49dc2
commit b41147d8e1
14 changed files with 22 additions and 216 deletions

View file

@ -48,7 +48,6 @@
neovim
nil
nixpkgs-fmt
rclone
wget
];

View file

@ -1,68 +0,0 @@
{ config, lib, ... }:
{
disko.devices = {
disk.main = {
type = "disk";
device = "/dev/nvme0n1";
content = {
type = "gpt";
partitions = {
esp = {
size = "512M";
start = "1M";
type = "EF00";
label = "EFI";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
swap = {
size = "16G";
type = "8200";
label = "Swap";
content = {
type = "swap";
randomEncryption = false;
};
};
root = {
type = "8300";
label = "NixOS";
size = "870G";
content = {
type = "btrfs";
mountpoint = "/";
subvolumes = {
"@root" = {
mountpoint = "/";
};
"@nix" = {
mountpoint = "/nix";
};
"@home" = {
mountpoint = "/home";
};
"@log" = {
mountpoint = "/var/log";
};
};
extraArgs = [
"-L"
"nixos-root"
];
mountOptions = [
"compress=zstd"
"noatime"
];
};
};
};
};
};
};
}

View file

@ -1,8 +1,6 @@
{ config
, lib
, pkgs
, modulesPath
, inputs
, ...
}: