feat: add zen browser flake

This commit is contained in:
danny 2025-08-14 09:29:00 +08:00
parent 53a6b8e4a5
commit 179961297b
18 changed files with 425 additions and 185 deletions

View file

@ -1,10 +1,9 @@
{
pkgs,
config,
...
}:
{
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelPackages = pkgs.linuxPackages_cachyos;
fileSystems."/mnt/ssd" = {
device = "/dev/disk/by-label/DN-SSD";

View file

@ -58,6 +58,7 @@ in
users."${username}" = {
imports = [
../../../home/presets/basic.nix
../../../home/user/zen-browser.nix
# Bitwarden client
(import ../../../home/user/bitwarden.nix {
@ -65,7 +66,7 @@ in
baseUrl = "https://bitwarden.net.dn";
})
# Proton GE
# Proton Extra Versions
{
home.file.".steam/root/compatibilitytools.d/GE-Proton10-10" = {
source = fetchTarball {
@ -73,6 +74,12 @@ in
sha256 = "sha256:1vkj66x84yqmpqm857hjzmx1s02h2lffcbc60jdfqz9xj34dx5jc";
};
};
home.file.".steam/root/compatibilitytools.d/CachyOS-Proton10-0_v3" = {
source = fetchTarball {
url = "https://github.com/CachyOS/proton-cachyos/releases/download/cachyos-10.0-20250714-slr/proton-cachyos-10.0-20250714-slr-x86_64_v3.tar.xz";
sha256 = "sha256:0hp22hkfv3f1p75im3xpif0pmixkq2i3hq3dhllzr2r7l1qx16iz";
};
};
}
# waybar
@ -161,6 +168,12 @@ in
blender
];
services.openssh = {
settings = {
UseDns = false;
};
};
users.users = {
${username} = {
openssh.authorizedKeys.keys = [

View file

@ -32,6 +32,7 @@
settings = {
PasswordAuthentication = true;
PermitRootLogin = "yes";
UseDns = false;
};
};

View file

@ -1,4 +1,4 @@
{ ... }:
{ pkgs, ... }:
{
imports = [
../auto-mount.nix
@ -28,4 +28,6 @@
../ca.nix
../sops-nix.nix
];
programs.gdk-pixbuf.modulePackages = [ pkgs.librsvg ];
}