Revert "feat(niri,xbacklight): Brightness control"
This reverts commit 9b0e21d04d786116d2578cb4e4a526619e79a7c4.
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
wifi.enable = true;
|
||||
stylix.enable = true;
|
||||
niri.enable = true;
|
||||
xbacklight-permissions.enable = true;
|
||||
users.users = [
|
||||
"crumb"
|
||||
];
|
||||
|
||||
73
hosts/fruitbook/disks.nix
Executable file
73
hosts/fruitbook/disks.nix
Executable file
@@ -0,0 +1,73 @@
|
||||
# sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode disko /persist/dots/hosts/nixos-testbed/disko-config.nix
|
||||
# time sudo nixos-install --flake /persist/dots#nixos-testbed
|
||||
{ lib, ... }:
|
||||
{
|
||||
# imports = [ disko.nixosModules.disko ];
|
||||
boot.initrd.supportedFilesystems.btrfs = true;
|
||||
boot.supportedFilesystems.btrfs = true;
|
||||
|
||||
# From Impermanence's README: "Important note: Make sure your persistent
|
||||
# volumes are marked with neededForBoot, otherwise you will run into
|
||||
# problems."
|
||||
fileSystems."/persist".neededForBoot = true;
|
||||
|
||||
disko.devices = {
|
||||
disk = {
|
||||
bootroot = {
|
||||
type = "disk";
|
||||
device = "/dev/disk/by-id/ata-APPLE_SSD_SM0512G_S29ANYAH526520-part4";
|
||||
content = {
|
||||
type = "gpt";
|
||||
partitions = {
|
||||
ESP = {
|
||||
size = "512M";
|
||||
type = "EF00";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "vfat";
|
||||
mountpoint = "/boot";
|
||||
mountOptions = [ "umask=0077" ];
|
||||
};
|
||||
};
|
||||
root = {
|
||||
size = "100%";
|
||||
content = {
|
||||
type = "btrfs";
|
||||
|
||||
mountpoint = "/partition-root";
|
||||
swap.swapfile.size = "4G";
|
||||
|
||||
# Override existing partitions.
|
||||
extraArgs = [ "-f" ];
|
||||
|
||||
# Subvolumes must set a mountpoint in order to be mounted,
|
||||
# *unless their parent is mounted*.
|
||||
subvolumes = {
|
||||
# Subvolume names do not necessarily correspond to
|
||||
# mountpoints, despite the structural resemblance to a file
|
||||
# path.
|
||||
"/rootfs" = {
|
||||
mountpoint = "/";
|
||||
};
|
||||
"/nix" = {
|
||||
mountpoint = "/nix";
|
||||
};
|
||||
"/persist" = {
|
||||
mountpoint = "/persist";
|
||||
};
|
||||
"/persist/home" = {
|
||||
mountpoint = "/persist/home";
|
||||
};
|
||||
"/swap" = {
|
||||
mountpoint = "/.swapvol";
|
||||
swap.swapfile.size = "4G";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user