This commit is contained in:
Aleksandr Lebedev 2024-12-17 19:11:42 +01:00
parent 1682c71bdf
commit 1306f250fa
5 changed files with 43 additions and 4 deletions

View file

@ -17,7 +17,7 @@
./nixvim
./fastfetch
#"${if hostname != "nixosbtw" then ./macos/homemac.nix else ./empty.nix }"
] ++ if hwconfig.useImpermanence then [ ./modules/impermanence/home.nix ] else [];
] ++ (if hwconfig.useImpermanence then [ ./modules/impermanence/home.nix ] else []);
# Home Manager needs a bit of information about you and the paths it should
# manage.
home.username = username;

View file

@ -1,4 +1,4 @@
{ ... }:
{ lib, ... }:
{
fileSystems."/persist".neededForBoot = true;

View file

@ -1,4 +1,4 @@
{ username, ... }:
{ username, inputs, ... }:
{
imports = [
inputs.impermanence.nixosModules.home-manager.impermanence
@ -11,6 +11,8 @@
"Documents"
"Videos"
"VirtualBox VMs"
"Git"
"blender"
".gnupg"
".ssh"
".nixops"