Compare commits

...
4 Commits
Author SHA1 Message Date
leonhard a0205f5e61 feat: swap firefox for zen-browser 2026-11-23 11:50:51 +01:00
leonhard 2aa6ef5688 chore: update flake 2026-11-23 11:17:34 +01:00
leonhard 0342d7da83 fix: change location of session log file to cache 2026-11-23 11:16:40 +01:00
leonhard 690766ac3f refactor: simplify options 2026-11-23 11:16:00 +01:00
9 changed files with 67 additions and 27 deletions

No files matched your search

Generated
+31 -7
View File
@@ -28,11 +28,11 @@
]
},
"locked": {
"lastModified": 1794963576,
"narHash": "sha256-+CPrP74GDJ63f7bgEFC9Av4hbxc7K9WUNv1ZVRifRe8=",
"lastModified": 1795366757,
"narHash": "sha256-Tp4Kh4R7ID1f2mMCDlb2PiFQ/DZZsnXB2u2juWN+TT4=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "2b13c9cb3aa20653e6f8ee0b7f8331a53ea9b0a9",
"rev": "3b8140d21fa0a70b1b38c2ed29853dfe686234a6",
"type": "github"
},
"original": {
@@ -43,11 +43,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1794890597,
"narHash": "sha256-lME2lHoDHAaSHP3/okgiVoJ0icVEvsQH8LeU3We7tcc=",
"lastModified": 1795234589,
"narHash": "sha256-f/VVvxf5RsQgWVhUtefoca5ktVg0DA2bnkMOcmSnozo=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "04906337b6d53e8bb0eaf0470ae9f070a4d4eb55",
"rev": "2786a2a72088ecf32aea5b3ec52099e6a7cff78f",
"type": "github"
},
"original": {
@@ -99,7 +99,8 @@
"nixpkgs": "nixpkgs",
"nixvim": "nixvim",
"sops-nix": "sops-nix",
"systems": "systems_2"
"systems": "systems_2",
"zen-browser": "zen-browser"
}
},
"sops-nix": {
@@ -153,6 +154,29 @@
"repo": "default",
"type": "github"
}
},
"zen-browser": {
"inputs": {
"home-manager": [
"home-manager"
],
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1795333741,
"narHash": "sha256-xJaT+L8DeMR0TJjAOlrjGqaRG2AjZrjivQfCtiLRtlY=",
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"rev": "81376950ac382a96b965f9d6f8bf60354ad99c2f",
"type": "github"
},
"original": {
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"type": "github"
}
}
},
"root": "root",
+8
View File
@@ -17,6 +17,14 @@
};
nixvim.url = "github:nix-community/nixvim";
zen-browser = {
url = "github:0xc000022070/zen-browser-flake";
inputs = {
nixpkgs.follows = "nixpkgs";
home-manager.follows = "home-manager";
};
};
};
outputs =
+1 -1
View File
@@ -13,12 +13,12 @@ in
../options.nix
./git.nix
./firefox.nix
./fish.nix
./nixvim.nix
./niri.nix
./kitty.nix
./rofi
./zen-browser.nix
];
home = {
-7
View File
@@ -1,7 +0,0 @@
{
config,
...
}:
{
programs.firefox.enable = config.nix-leonhard.graphical.enable;
}
+3 -3
View File
@@ -1,13 +1,11 @@
{
config,
lib,
pkgs,
...
}:
{
config = lib.mkIf config.nix-leonhard.graphical.enable {
programs.kitty = {
enable = true;
enable = config.nix-leonhard.graphical.enable;
themeFile = "tokyo_night_night";
font = {
package = pkgs.nerd-fonts.jetbrains-mono;
@@ -17,6 +15,8 @@
keybindings = {
"ctrl+alt+enter" = "launch --cwd=current";
};
settings = {
hide_window_decorations = true;
};
};
}
+1 -4
View File
@@ -1,12 +1,9 @@
{
config,
lib,
...
}:
{
config = lib.mkIf config.nix-leonhard.graphical.enable {
wayland.windowManager.niri = {
enable = true;
};
enable = config.nix-leonhard.graphical.enable;
};
}
+1 -4
View File
@@ -1,12 +1,10 @@
{
config,
lib,
...
}:
{
config = lib.mkIf config.nix-leonhard.graphical.enable {
programs.rofi = {
enable = true;
enable = config.nix-leonhard.graphical.enable;
theme = ./tokyonight.rasi;
settings = {
modi = [
@@ -40,5 +38,4 @@
kb-mode-complete = "Control+o";
};
};
};
}
+18
View File
@@ -0,0 +1,18 @@
{
config,
lib,
inputs,
...
}:
{
imports = [
inputs.zen-browser.homeModules.beta
];
config = lib.mkIf config.nix-leonhard.graphical.enable {
programs.zen-browser = {
enable = true;
setAsDefaultBrowser = true;
};
};
}
+4 -1
View File
@@ -3,5 +3,8 @@
...
}:
{
services.displayManager.ly.enable = config.nix-leonhard.graphical.enable;
services.displayManager.ly = {
enable = config.nix-leonhard.graphical.enable;
settings.session_log = ".cache/ly-lession.log";
};
}