Skip to content

Instantly share code, notes, and snippets.

{
"section1": {
"type": "section",
"description": "Behavior"
},
"show-all-workspaces": {
"type": "switch",
"default": false,
"description": "Show windows from all workspaces",
"value": false
{ config, pkgs, ... }:
{
imports = [ <nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-gnome.nix> ];
systemd.services."xe-daemon".enable = false;
environment.etc."lvm/lvm.conf" = {
text = ''
devices {
@gauravjuvekar
gauravjuvekar / mount-nix.sh
Last active November 18, 2023 00:05
mount-nix.sh
modprobe dm_raid
modprobe dm_integrity
vgchange --config 'devices { scan_lvs = 1 }' -ay
cryptsetup open /dev/mapper/vgBoot-lvBoot cryptBoot
cryptsetup open /dev/mapper/vgRaid-lvRaid cryptPv
vgchange --config 'devices { scan_lvs = 1 }' -ay
mount /dev/mapper/vgOs-nixRoot /mnt -o subvol=@root
mount /dev/mapper/vgOs-nixRoot /mnt/nix -o subvol=@nix
mount /dev/mapper/vgOs-lvHome /mnt/home -o subvol=@home
mount /dev/mapper/cryptBoot /mnt/boot