dust: use etc overlay & userborn

This commit is contained in:
Guanran Wang 2024-08-31 02:35:42 +08:00
parent 22dbe7b96b
commit 737b2cad33
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF
4 changed files with 13 additions and 6 deletions

View file

@ -231,17 +231,17 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1724748588,
"narHash": "sha256-NlpGA4+AIf1dKNq76ps90rxowlFXUsV9x7vK/mN37JM=",
"lastModified": 1725013374,
"narHash": "sha256-fbz8MUVDWHchQSA4uguP9YYDXnX4bEdlP7YvsMcXZu4=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "a6292e34000dc93d43bccf78338770c1c5ec8a99",
"rev": "c169763c3087b02a8308e2f8a9bba77c428dcca1",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"rev": "c169763c3087b02a8308e2f8a9bba77c428dcca1",
"type": "github"
}
},

View file

@ -7,7 +7,8 @@
# `nixpkgs-unstable` contains less(?) jobs, and usually updates faster.
#
# REFERENCE: https://discourse.nixos.org/t/differences-between-nix-channels/13998/5
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
nixpkgs.url = "github:NixOS/nixpkgs/c169763c3087b02a8308e2f8a9bba77c428dcca1"; # userborn
# nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
disko = {
url = "github:nix-community/disko";

View file

@ -21,6 +21,13 @@
time.timeZone = "Asia/Shanghai";
system.stateVersion = "24.05";
# TODO: move to 'core' profile
system.etc.overlay.enable = true;
services.userborn.enable = true;
# TODO: this is currently broken
# system.etc.overlay.mutable = false;
users.users = {
"guanranwang" = {
isNormalUser = true;

View file

@ -17,7 +17,6 @@
"befs"
"cramfs"
"efs"
"erofs"
"exofs"
"freevxfs"
"f2fs"