Persist enpass files
This commit is contained in:
148
flake.nix
148
flake.nix
@@ -39,8 +39,8 @@
|
|||||||
disko.devices = {
|
disko.devices = {
|
||||||
disk = {
|
disk = {
|
||||||
stationette = {
|
stationette = {
|
||||||
type = "disk";
|
type = "disk";
|
||||||
device = "/dev/sda"; # Check this with lsblk
|
device = "/dev/sda"; # Check this with lsblk
|
||||||
content = {
|
content = {
|
||||||
type = "gpt";
|
type = "gpt";
|
||||||
partitions = {
|
partitions = {
|
||||||
@@ -59,24 +59,24 @@
|
|||||||
content = {
|
content = {
|
||||||
type = "btrfs";
|
type = "btrfs";
|
||||||
extraArgs = [ "-f" ]; # Force overwrite
|
extraArgs = [ "-f" ]; # Force overwrite
|
||||||
subvolumes = {
|
subvolumes = {
|
||||||
"/root" = {
|
"/root" = {
|
||||||
mountpoint = "/";
|
mountpoint = "/";
|
||||||
mountOptions = [ "compress=zstd" "noatime" ];
|
mountOptions = [ "compress=zstd" "noatime" ];
|
||||||
|
};
|
||||||
|
"/nix" = {
|
||||||
|
mountpoint = "/nix";
|
||||||
|
mountOptions = [ "compress=zstd" "noatime" ];
|
||||||
|
};
|
||||||
|
"/persist" = {
|
||||||
|
mountpoint = "/persist";
|
||||||
|
mountOptions = [ "compress=zstd" "noatime" ];
|
||||||
|
};
|
||||||
|
"/swap" = {
|
||||||
|
mountpoint = "/.swapvol";
|
||||||
|
swap.swapfile.size = "8G";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
"/nix" = {
|
|
||||||
mountpoint = "/nix";
|
|
||||||
mountOptions = [ "compress=zstd" "noatime" ];
|
|
||||||
};
|
|
||||||
"/persist" = {
|
|
||||||
mountpoint = "/persist";
|
|
||||||
mountOptions = [ "compress=zstd" "noatime" ];
|
|
||||||
};
|
|
||||||
"/swap" = {
|
|
||||||
mountpoint = "/.swapvol";
|
|
||||||
swap.swapfile.size = "8G";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -202,9 +202,11 @@
|
|||||||
".config/dotfiles"
|
".config/dotfiles"
|
||||||
".config/nvim"
|
".config/nvim"
|
||||||
".config/nixos"
|
".config/nixos"
|
||||||
|
".config/sinew.in/Enpass"
|
||||||
".local/share/direnv"
|
".local/share/direnv"
|
||||||
".local/share/nvim"
|
".local/share/nvim"
|
||||||
".local/share/zoxide"
|
".local/share/zoxide"
|
||||||
|
".local/share/Enpass"
|
||||||
".ssh"
|
".ssh"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
@@ -290,7 +292,7 @@
|
|||||||
# kdePackages.dolphin
|
# kdePackages.dolphin
|
||||||
enpass
|
enpass
|
||||||
enpass-cli
|
enpass-cli
|
||||||
# expressvpn
|
expressvpn
|
||||||
# jellyfin-ffmpeg
|
# jellyfin-ffmpeg
|
||||||
# inkscape
|
# inkscape
|
||||||
# krita
|
# krita
|
||||||
@@ -325,61 +327,61 @@
|
|||||||
in {
|
in {
|
||||||
firefox = {
|
firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# package = pkgs.wrapFirefox pkgs.firefox-unwrapped {
|
package = pkgs.wrapFirefox pkgs.firefox-unwrapped {
|
||||||
# extraPolicies = {
|
extraPolicies = {
|
||||||
# DisableTelemetry = true;
|
DisableTelemetry = true;
|
||||||
# DisableFirefoxStudies = true;
|
DisableFirefoxStudies = true;
|
||||||
# EnableTrackingProtection = {
|
EnableTrackingProtection = {
|
||||||
# Value= true;
|
Value= true;
|
||||||
# Locked = true;
|
Locked = true;
|
||||||
# Cryptomining = true;
|
Cryptomining = true;
|
||||||
# Fingerprinting = true;
|
Fingerprinting = true;
|
||||||
# };
|
};
|
||||||
# DisablePocket = true;
|
DisablePocket = true;
|
||||||
# DisableFirefoxAccounts = true;
|
DisableFirefoxAccounts = true;
|
||||||
# DisableAccounts = true;
|
DisableAccounts = true;
|
||||||
# DisableFirefoxScreenshots = true;
|
DisableFirefoxScreenshots = true;
|
||||||
# OverrideFirstRunPage = "";
|
OverrideFirstRunPage = "";
|
||||||
# OverridePostUpdatePage = "";
|
OverridePostUpdatePage = "";
|
||||||
# DontCheckDefaultBrowser = true;
|
DontCheckDefaultBrowser = true;
|
||||||
# DisplayBookmarksToolbar = "always"; # alternatives: "always" or "newtab"
|
DisplayBookmarksToolbar = "always"; # alternatives: "always" or "newtab"
|
||||||
# DisplayMenuBar = "default-off"; # alternatives: "always", "never" or "default-on"
|
DisplayMenuBar = "default-off"; # alternatives: "always", "never" or "default-on"
|
||||||
# SearchBar = "unified"; # alternative: "separate"
|
SearchBar = "unified"; # alternative: "separate"
|
||||||
|
|
||||||
# /* ---- EXTENSIONS ---- */
|
/* ---- EXTENSIONS ---- */
|
||||||
# ExtensionSettings = {
|
ExtensionSettings = {
|
||||||
# "*".installation_mode = "allowed"; # blocks all addons except the ones specified below
|
"*".installation_mode = "allowed"; # blocks all addons except the ones specified below
|
||||||
# # Enpass
|
# Enpass
|
||||||
# "firefox-enpass@enpass.io" = {
|
"firefox-enpass@enpass.io" = {
|
||||||
# install_url = "https://dl.enpass.io/stable/extensions/firefox/versions/v6.11.10.2/enpass_password_manager-6.11.10.2.xpi";
|
install_url = "https://dl.enpass.io/stable/extensions/firefox/versions/v6.11.10.2/enpass_password_manager-6.11.10.2.xpi";
|
||||||
# installation_mode = "force_installed";
|
installation_mode = "force_installed";
|
||||||
# };
|
};
|
||||||
# };
|
};
|
||||||
|
|
||||||
# /* ---- PREFERENCES ---- */
|
/* ---- PREFERENCES ---- */
|
||||||
# # Set preferences shared by all profiles.
|
# Set preferences shared by all profiles.
|
||||||
# Preferences = {
|
Preferences = {
|
||||||
# "browser.contentblocking.category" = { Value = "strict"; Status = "locked"; };
|
"browser.contentblocking.category" = { Value = "strict"; Status = "locked"; };
|
||||||
# "extensions.pocket.enabled" = lock-false;
|
"extensions.pocket.enabled" = lock-false;
|
||||||
# "extensions.screenshots.disabled" = lock-true;
|
"extensions.screenshots.disabled" = lock-true;
|
||||||
# "browser.topsites.contile.enabled" = lock-false;
|
"browser.topsites.contile.enabled" = lock-false;
|
||||||
# "browser.formfill.enable" = lock-false;
|
"browser.formfill.enable" = lock-false;
|
||||||
# "browser.search.suggest.enabled" = lock-false;
|
"browser.search.suggest.enabled" = lock-false;
|
||||||
# "browser.search.suggest.enabled.private" = lock-false;
|
"browser.search.suggest.enabled.private" = lock-false;
|
||||||
# "browser.urlbar.suggest.searches" = lock-false;
|
"browser.urlbar.suggest.searches" = lock-false;
|
||||||
# "browser.urlbar.showSearchSuggestionsFirst" = lock-false;
|
"browser.urlbar.showSearchSuggestionsFirst" = lock-false;
|
||||||
# "browser.newtabpage.activity-stream.feeds.section.topstories" = lock-false;
|
"browser.newtabpage.activity-stream.feeds.section.topstories" = lock-false;
|
||||||
# "browser.newtabpage.activity-stream.feeds.snippets" = lock-false;
|
"browser.newtabpage.activity-stream.feeds.snippets" = lock-false;
|
||||||
# "browser.newtabpage.activity-stream.section.highlights.includePocket" = lock-false;
|
"browser.newtabpage.activity-stream.section.highlights.includePocket" = lock-false;
|
||||||
# "browser.newtabpage.activity-stream.section.highlights.includeBookmarks" = lock-false;
|
"browser.newtabpage.activity-stream.section.highlights.includeBookmarks" = lock-false;
|
||||||
# "browser.newtabpage.activity-stream.section.highlights.includeDownloads" = lock-false;
|
"browser.newtabpage.activity-stream.section.highlights.includeDownloads" = lock-false;
|
||||||
# "browser.newtabpage.activity-stream.section.highlights.includeVisited" = lock-false;
|
"browser.newtabpage.activity-stream.section.highlights.includeVisited" = lock-false;
|
||||||
# "browser.newtabpage.activity-stream.showSponsored" = lock-false;
|
"browser.newtabpage.activity-stream.showSponsored" = lock-false;
|
||||||
# "browser.newtabpage.activity-stream.system.showSponsored" = lock-false;
|
"browser.newtabpage.activity-stream.system.showSponsored" = lock-false;
|
||||||
# "browser.newtabpage.activity-stream.showSponsoredTopSites" = lock-false;
|
"browser.newtabpage.activity-stream.showSponsoredTopSites" = lock-false;
|
||||||
# };
|
};
|
||||||
# };
|
};
|
||||||
# };
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
|
|||||||
Reference in New Issue
Block a user