Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3ad33b734a |
@@ -15,14 +15,15 @@ in {
|
|||||||
# https://support.mozilla.org/en-US/kb/recovering-important-data-from-an-old-profile.
|
# https://support.mozilla.org/en-US/kb/recovering-important-data-from-an-old-profile.
|
||||||
sydnix.impermanence.directories = [
|
sydnix.impermanence.directories = [
|
||||||
"${config.xdg.configHome}/mozilla/firefox"
|
"${config.xdg.configHome}/mozilla/firefox"
|
||||||
# "${config.xdg.configHome}/mozilla/firefox"
|
".cache/mozilla/firefox"
|
||||||
|
".mozilla"
|
||||||
];
|
];
|
||||||
|
|
||||||
stylix.targets.firefox.profileNames = [ "msyds" ];
|
stylix.targets.firefox.profileNames = [ "msyds" ];
|
||||||
|
|
||||||
programs.firefox = {
|
programs.firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
configPath = "${config.xdg.configHome}/mozilla/firefox";
|
# configPath = "${config.xdg.configHome}/mozilla/firefox";
|
||||||
|
|
||||||
# Available language codes can be found on the releases page:
|
# Available language codes can be found on the releases page:
|
||||||
# https://releases.mozilla.org/pub/firefox/releases/134.0.2/linux-x86_64/xpi/.
|
# https://releases.mozilla.org/pub/firefox/releases/134.0.2/linux-x86_64/xpi/.
|
||||||
|
|||||||
@@ -342,10 +342,6 @@ in {
|
|||||||
place-within-backdrop = true;
|
place-within-backdrop = true;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
# debug = {
|
|
||||||
# wait-for-frame-completion-in-pipewire = {};
|
|
||||||
# };
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -267,19 +267,10 @@ in {
|
|||||||
"poweroff"
|
"poweroff"
|
||||||
"lock"
|
"lock"
|
||||||
"suspend"
|
"suspend"
|
||||||
"restart"
|
# "restart"
|
||||||
];
|
];
|
||||||
powerMenuDefaultAction = "logout";
|
powerMenuDefaultAction = "logout";
|
||||||
powerMenuGridLayout = false;
|
powerMenuGridLayout = false;
|
||||||
customPowerActionLock = "";
|
|
||||||
customPowerActionLogout = "";
|
|
||||||
customPowerActionSuspend = "";
|
|
||||||
customPowerActionHibernate = "";
|
|
||||||
customPowerActionReboot = "";
|
|
||||||
customPowerActionPowerOff = "";
|
|
||||||
updaterUseCustomCommand = false;
|
|
||||||
updaterCustomCommand = "";
|
|
||||||
updaterTerminalAdditionalParams = "";
|
|
||||||
displayNameMode = "system";
|
displayNameMode = "system";
|
||||||
screenPreferences.wallpaper = [];
|
screenPreferences.wallpaper = [];
|
||||||
showOnLastDisplay = {};
|
showOnLastDisplay = {};
|
||||||
|
|||||||
@@ -23,16 +23,6 @@ in {
|
|||||||
after = ["xwayland-satellite.service"];
|
after = ["xwayland-satellite.service"];
|
||||||
};
|
};
|
||||||
|
|
||||||
# programs.dank-material-shell.greeter = {
|
|
||||||
# enable = true;
|
|
||||||
# compositor.name = "niri";
|
|
||||||
# # configHome = "/home/msyds";
|
|
||||||
# logs = {
|
|
||||||
# save = true;
|
|
||||||
# path = "/tmp/dms-greeter.log";
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
|
|
||||||
# services.greetd.settings.default_session.command = "";
|
# services.greetd.settings.default_session.command = "";
|
||||||
|
|
||||||
services.displayManager.dms-greeter = {
|
services.displayManager.dms-greeter = {
|
||||||
|
|||||||
@@ -24,20 +24,33 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
boot.initrd.systemd.services.rollback = {
|
boot.initrd.systemd = {
|
||||||
description = ''
|
services.impermance-btrfs-rolling-root = {
|
||||||
Rollback root filesystem to empty while maintaining old roots
|
description = "Archiving existing BTRFS root subvolume and creating a fresh one";
|
||||||
'';
|
unitConfig.DefaultDependencies = false;
|
||||||
wantedBy = [ "initrd.target" ];
|
serviceConfig = {
|
||||||
|
# The script needs to run to completion before this service
|
||||||
|
# is done
|
||||||
|
Type = "oneshot";
|
||||||
|
# NOTE: to be able to see errors in your script do this
|
||||||
|
StandardOutput = "journal+console";
|
||||||
|
StandardError = "journal+console";
|
||||||
|
};
|
||||||
|
# This service is required for boot to succeed
|
||||||
|
requiredBy = ["initrd.target"];
|
||||||
|
# Should complete before any file systems are mounted
|
||||||
before = ["sysroot.mount"];
|
before = ["sysroot.mount"];
|
||||||
path = with pkgs; [
|
|
||||||
coreutils
|
# Wait until the root device is available
|
||||||
findutils
|
# If you're altering a different device, specify its device unit explicitly.
|
||||||
util-linuxMinimal.bin
|
# see: systemd-escape(1)
|
||||||
btrfs-progs
|
requires = ["initrd-root-device.target"];
|
||||||
|
after = [
|
||||||
|
"initrd-root-device.target"
|
||||||
|
# Allow hibernation to resume before trying to alter any data
|
||||||
|
"local-fs-pre.target"
|
||||||
];
|
];
|
||||||
unitConfig.DefaultDependencies = "no";
|
|
||||||
serviceConfig.Type = "oneshot";
|
|
||||||
script = ''
|
script = ''
|
||||||
# Mount the btrfs filesystem.
|
# Mount the btrfs filesystem.
|
||||||
mkdir -p /btrfs-tmp
|
mkdir -p /btrfs-tmp
|
||||||
@@ -70,5 +83,16 @@ in {
|
|||||||
umount /btrfs-tmp
|
umount /btrfs-tmp
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
# NOTE: path = [...]; doesnt work for initrd, use full paths in
|
||||||
|
# your script or extraBin
|
||||||
|
extraBin = {
|
||||||
|
"mkdir" = "${pkgs.coreutils}/bin/mkdir";
|
||||||
|
"date" = "${pkgs.coreutils}/bin/date";
|
||||||
|
"stat" = "${pkgs.coreutils}/bin/stat";
|
||||||
|
"mv" = "${pkgs.coreutils}/bin/mv";
|
||||||
|
"find" = "${pkgs.findutils}/bin/find";
|
||||||
|
"btrfs" = "${pkgs.btrfs-progs}/bin/btrfs";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user