fix
This commit is contained in:
@@ -14,9 +14,9 @@
|
|||||||
# You can also split up your configuration and import pieces of it here:
|
# You can also split up your configuration and import pieces of it here:
|
||||||
# ./nvim.nix
|
# ./nvim.nix
|
||||||
./core.nix
|
./core.nix
|
||||||
../modules/home/hyprland
|
# ../modules/home/hyprland
|
||||||
../modules/home/vscode
|
../modules/home/vscode
|
||||||
../modules/home/v2ray
|
# ../modules/home/v2ray
|
||||||
../modules/home/xdg.nix
|
../modules/home/xdg.nix
|
||||||
../modules/home/theme.nix
|
../modules/home/theme.nix
|
||||||
];
|
];
|
||||||
@@ -27,9 +27,7 @@
|
|||||||
bc # GNU software calculator
|
bc # GNU software calculator
|
||||||
vlc
|
vlc
|
||||||
imv
|
imv
|
||||||
motrix
|
|
||||||
microsoft-edge
|
microsoft-edge
|
||||||
telegram-desktop
|
|
||||||
# firefox
|
# firefox
|
||||||
# chromium
|
# chromium
|
||||||
|
|
||||||
@@ -38,7 +36,6 @@
|
|||||||
lsof
|
lsof
|
||||||
pciutils # lspci etc.
|
pciutils # lspci etc.
|
||||||
frp
|
frp
|
||||||
obsidian
|
|
||||||
xorg.xhost
|
xorg.xhost
|
||||||
|
|
||||||
# nur.repos.linyinfeng.wemeet
|
# nur.repos.linyinfeng.wemeet
|
||||||
|
|||||||
@@ -4,11 +4,6 @@
|
|||||||
imports = [
|
imports = [
|
||||||
inputs.impermanence.nixosModules.impermanence
|
inputs.impermanence.nixosModules.impermanence
|
||||||
];
|
];
|
||||||
|
|
||||||
# 系统启动时确保持久化目录存在
|
|
||||||
system.activationScripts.persistent-dirs.text = ''
|
|
||||||
mkdir -p /nix/persistent
|
|
||||||
'';
|
|
||||||
|
|
||||||
# 启用 tmpfs 作为根文件系统
|
# 启用 tmpfs 作为根文件系统
|
||||||
fileSystems."/" = lib.mkForce {
|
fileSystems."/" = lib.mkForce {
|
||||||
@@ -21,7 +16,7 @@
|
|||||||
fileSystems."/nix" = lib.mkForce {
|
fileSystems."/nix" = lib.mkForce {
|
||||||
device = "/dev/disk/by-label/nixos"; # 需要根据实际情况修改
|
device = "/dev/disk/by-label/nixos"; # 需要根据实际情况修改
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "bind" ];
|
options = [ "compress-force=zstd" ];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user