Comments (5)
It looks like your issue is that you have
{
fileSystems."/nix/persist".neededForBoot = true;
}
in your config, but /nix/persist
isn't a file system. Just removing this line should make it work. /nix
should already be marked neededForBoot
, so you shouldn't have to care about that :)
from impermanence.
I don't have that set in my config, and if i had tried it would have failed as its not valid without a device.
building Nix...
building the system configuration...
error: while evaluating the attribute 'config.system.build.toplevel' at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/top-level.nix:280:5:
while evaluating 'foldr' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:52:20, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/top-level.nix:130:12:
while evaluating 'fold'' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:55:15, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:59:8:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/top-level.nix:123:50, called from undefined position:
while evaluating the attribute 'assertion' at /nix/store/26s6bkfh6gvq0zg0a9lgjs6p4i66r1hx-source/nixos.nix:190:11:
while evaluating 'markedNeededForBoot' at /nix/store/26s6bkfh6gvq0zg0a9lgjs6p4i66r1hx-source/nixos.nix:168:37, called from /nix/store/26s6bkfh6gvq0zg0a9lgjs6p4i66r1hx-source/nixos.nix:190:23:
while evaluating the attribute 'fileSystems."/nix/persist".neededForBoot' at undefined position:
attribute '/nix/persist' missing, at /nix/store/26s6bkfh6gvq0zg0a9lgjs6p4i66r1hx-source/nixos.nix:168:42
and the included configuration.nix
from impermanence.
Oh, whoops, it's actually because of an assertion we're making. That should be fixed.
from impermanence.
I've opened #13 which should fix this. Please try it out :)
from impermanence.
tried it out, fixes the problem. thank you.
from impermanence.
Related Issues (20)
- feature request: add wildcard matching HOT 3
- Any good way to handle `/etc/localtime`? (Or: "How to persist symlinks as symlinks?") HOT 2
- Fails with mkdir: cannot create directory: No such file or directory HOT 1
- Add `/etc/nixos/*.nix` to the example ?
- Regression after using escapeSystemdPath HOT 3
- `user.*.directories` assertion is displaying incorrectly`
- Issues with bindfs: no entry in /etc/mtab HOT 1
- Persisting Steam breaks any game within it and also fails shutdown
- Boot does not revoke chmod permissions HOT 1
- [REQUEST] Declare `something.impermanence.enable` option for integration with other modules and easy way to disable impermanence HOT 1
- Handle bind mount of directory that already has content HOT 2
- `nixos-rebuild` fails due to the symlink, Impermanence created
- Best practice to split configuration HOT 1
- missing `x-gvfs-hidein` in mount
- Strategies to deal with `renameat(3)` on persisted files HOT 1
- Infinite recursion error when persisting anything in /var/ HOT 1
- Symlinks created via the home-manager module are broken HOT 1
- The importance of persisting `/var/lib/nixos` is not documented HOT 1
- Cannot use `users.users` without infinite recursion
- Empty list for home.persistence directories does not build HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from impermanence.