stylix and zen-browser

This commit is contained in:
William 2025-10-16 13:44:52 -03:00
parent 8e5a0ff620
commit a34c15d72f
6 changed files with 114 additions and 54 deletions

59
flake.lock generated
View file

@ -384,6 +384,27 @@
"type": "github" "type": "github"
} }
}, },
"home-manager_3": {
"inputs": {
"nixpkgs": [
"zen-browser",
"nixpkgs"
]
},
"locked": {
"lastModified": 1752603129,
"narHash": "sha256-S+wmHhwNQ5Ru689L2Gu8n1OD6s9eU9n9mD827JNR+kw=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "e8c19a3cec2814c754f031ab3ae7316b64da085b",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "home-manager",
"type": "github"
}
},
"impermanence": { "impermanence": {
"locked": { "locked": {
"lastModified": 1737831083, "lastModified": 1737831083,
@ -551,6 +572,22 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_5": {
"locked": {
"lastModified": 1755615617,
"narHash": "sha256-HMwfAJBdrr8wXAkbGhtcby1zGFvs+StOp19xNsbqdOg=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "20075955deac2583bb12f07151c2df830ef346b4",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nur": { "nur": {
"inputs": { "inputs": {
"flake-parts": [ "flake-parts": [
@ -610,7 +647,8 @@
"nixos-cli": "nixos-cli", "nixos-cli": "nixos-cli",
"nixpkgs": "nixpkgs_3", "nixpkgs": "nixpkgs_3",
"nixpkgs-stable": "nixpkgs-stable", "nixpkgs-stable": "nixpkgs-stable",
"stylix": "stylix" "stylix": "stylix",
"zen-browser": "zen-browser"
} }
}, },
"rust-overlay": { "rust-overlay": {
@ -792,6 +830,25 @@
"repo": "base16-zed", "repo": "base16-zed",
"type": "github" "type": "github"
} }
},
"zen-browser": {
"inputs": {
"home-manager": "home-manager_3",
"nixpkgs": "nixpkgs_5"
},
"locked": {
"lastModified": 1760588585,
"narHash": "sha256-NufqXao2i6d7N1HFKp8hM8XAD8Q6s/zU2wNd065Ybus=",
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"rev": "5a651a6a3bb5c9bd694adbd2c34f55b4abff9a2c",
"type": "github"
},
"original": {
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

View file

@ -37,6 +37,8 @@
nix-flatpak.url = "github:gmodena/nix-flatpak/main"; nix-flatpak.url = "github:gmodena/nix-flatpak/main";
zen-browser.url = "github:0xc000022070/zen-browser-flake";
impermanence.url = "github:nix-community/impermanence"; impermanence.url = "github:nix-community/impermanence";
}; };

View file

@ -13,37 +13,37 @@
KDEHOME = "$XDG_CONFIG_HOME/kde4"; # Stops kde from placing a .kde4 folder in the home dir KDEHOME = "$XDG_CONFIG_HOME/kde4"; # Stops kde from placing a .kde4 folder in the home dir
NIXOS_OZONE_WL = "1"; # Forces chromium and most electron apps to run in wayland NIXOS_OZONE_WL = "1"; # Forces chromium and most electron apps to run in wayland
}; };
systemPackages = systemPackages = with pkgs; [
with pkgs;
[
### Web ### ### Web ###
bitwarden-desktop bitwarden-desktop
brave brave
tor-browser tor-browser
qbittorrent qbittorrent
vesktop vesktop
inputs.zen-browser.packages."${system}".default
### Office & Productivity ### ### Office & Productivity ###
aspell aspell
aspellDicts.de aspellDicts.de
aspellDicts.en aspellDicts.en
aspellDicts.en-computers aspellDicts.en-computers
aspellDicts.pt_BR aspellDicts.pt_BR
kwrite libreoffice
libreoffice-qt
onlyoffice-desktopeditors onlyoffice-desktopeditors
papers
rnote rnote
### Graphics & Design ### ### Graphics & Design ###
gimp gimp
inkscape inkscape
loupe
plasticity plasticity
### System Utilities ### ### System Utilities ###
adwaita-icon-theme adwaita-icon-theme
colloid-gtk-theme ghostty
gnome-disk-utility
junction junction
kara
kde-rounded-corners
libfido2 libfido2
mission-center mission-center
nautilus
p7zip p7zip
rclone rclone
toggleaudiosink toggleaudiosink
@ -52,13 +52,7 @@
mpv mpv
obs-studio obs-studio
qview qview
] ];
++ (with pkgs.kdePackages; [
ark
dolphin
dolphin-plugins
kolourpaint
]);
}; };
services = { services = {
@ -86,8 +80,6 @@
flatpak = { flatpak = {
enable = true; enable = true;
packages = [ packages = [
### Internet Browsers & Communication ###
"app.zen_browser.zen"
### Graphics & Design ### ### Graphics & Design ###
"com.boxy_svg.BoxySVG" "com.boxy_svg.BoxySVG"
rec { rec {
@ -121,7 +113,6 @@
niri.enable = true; niri.enable = true;
dconf.enable = true; dconf.enable = true;
kdeconnect.enable = true; kdeconnect.enable = true;
partition-manager.enable = true;
appimage = { appimage = {
enable = true; enable = true;
binfmt = true; binfmt = true;

View file

@ -1,7 +1,10 @@
{ inputs, pkgs, ... }: { inputs, pkgs, ... }:
{ {
imports = [ inputs.dms.homeModules.dankMaterialShell.default ]; imports = [
inputs.dms.homeModules.dankMaterialShell.default
inputs.zen-browser.homeModules.beta
];
fonts.fontconfig.enable = true; fonts.fontconfig.enable = true;
@ -11,6 +14,11 @@
enableVPN = false; enableVPN = false;
}; };
zen-browser = {
enable = true;
profiles.william = { };
};
ghostty = { ghostty = {
enable = true; enable = true;
settings = { settings = {
@ -35,9 +43,7 @@
enable = true; enable = true;
xdgOpenUsePortal = true; xdgOpenUsePortal = true;
extraPortals = with pkgs; [ extraPortals = with pkgs; [
kdePackages.xdg-desktop-portal-kde
xdg-desktop-portal-gtk xdg-desktop-portal-gtk
xdg-desktop-portal-gnome
]; ];
config.common.default = "*"; config.common.default = "*";
}; };

View file

@ -13,7 +13,7 @@
idle-timeout = 0; idle-timeout = 0;
line-number = "relative"; line-number = "relative";
cursor-shape = { cursor-shape = {
normal = "bar"; normal = "underline";
insert = "bar"; insert = "bar";
select = "underline"; select = "underline";
}; };

View file

@ -53,5 +53,9 @@
terminal = 12; terminal = 12;
}; };
}; };
targets.zen-browser = {
enable = true;
profileNames = [ "william" ];
};
}; };
} }