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 108 additions and 68 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;
}
+13 -13
View File
@@ -1,22 +1,22 @@
{
config,
lib,
pkgs,
...
}:
{
config = lib.mkIf config.nix-leonhard.graphical.enable {
programs.kitty = {
enable = true;
themeFile = "tokyo_night_night";
font = {
package = pkgs.nerd-fonts.jetbrains-mono;
name = "JetBrainsMono NF";
size = 14;
};
keybindings = {
"ctrl+alt+enter" = "launch --cwd=current";
};
programs.kitty = {
enable = config.nix-leonhard.graphical.enable;
themeFile = "tokyo_night_night";
font = {
package = pkgs.nerd-fonts.jetbrains-mono;
name = "JetBrainsMono NF";
size = 14;
};
keybindings = {
"ctrl+alt+enter" = "launch --cwd=current";
};
settings = {
hide_window_decorations = true;
};
};
}
+2 -5
View File
@@ -1,12 +1,9 @@
{
config,
lib,
...
}:
{
config = lib.mkIf config.nix-leonhard.graphical.enable {
wayland.windowManager.niri = {
enable = true;
};
wayland.windowManager.niri = {
enable = config.nix-leonhard.graphical.enable;
};
}
+31 -34
View File
@@ -1,44 +1,41 @@
{
config,
lib,
...
}:
{
config = lib.mkIf config.nix-leonhard.graphical.enable {
programs.rofi = {
enable = true;
theme = ./tokyonight.rasi;
settings = {
modi = [
"drun"
"window"
"run"
];
font = "JetBrainsMono Nerd Font 11";
icon-theme = "Papirus-Dark";
show-icons = true;
terminal = "kitty";
drun-display-format = "{icon} {name}";
location = 0;
disable-history = false;
sidebar-mode = false;
display-drun = " ";
display-run = " ";
display-window = " ";
programs.rofi = {
enable = config.nix-leonhard.graphical.enable;
theme = ./tokyonight.rasi;
settings = {
modi = [
"drun"
"window"
"run"
];
font = "JetBrainsMono Nerd Font 11";
icon-theme = "Papirus-Dark";
show-icons = true;
terminal = "kitty";
drun-display-format = "{icon} {name}";
location = 0;
disable-history = false;
sidebar-mode = false;
display-drun = " ";
display-run = " ";
display-window = " ";
kb-row-up = "Up,Control+k";
kb-row-left = "Left,Control+h";
kb-row-right = "Right,Control+l";
kb-row-down = "Down,Control+j";
kb-row-up = "Up,Control+k";
kb-row-left = "Left,Control+h";
kb-row-right = "Right,Control+l";
kb-row-down = "Down,Control+j";
kb-accept-entry = "Return";
# remove clashing keybinds
kb-remove-to-eol = "";
kb-move-char-back = "Control+b";
kb-remove-char-back = "BackSpace";
kb-move-char-forward = "Control+f";
kb-mode-complete = "Control+o";
};
kb-accept-entry = "Return";
# remove clashing keybinds
kb-remove-to-eol = "";
kb-move-char-back = "Control+b";
kb-remove-char-back = "BackSpace";
kb-move-char-forward = "Control+f";
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";
};
}