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": { "locked": {
"lastModified": 1794963576, "lastModified": 1795366757,
"narHash": "sha256-+CPrP74GDJ63f7bgEFC9Av4hbxc7K9WUNv1ZVRifRe8=", "narHash": "sha256-Tp4Kh4R7ID1f2mMCDlb2PiFQ/DZZsnXB2u2juWN+TT4=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "2b13c9cb3aa20653e6f8ee0b7f8331a53ea9b0a9", "rev": "3b8140d21fa0a70b1b38c2ed29853dfe686234a6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -43,11 +43,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1794890597, "lastModified": 1795234589,
"narHash": "sha256-lME2lHoDHAaSHP3/okgiVoJ0icVEvsQH8LeU3We7tcc=", "narHash": "sha256-f/VVvxf5RsQgWVhUtefoca5ktVg0DA2bnkMOcmSnozo=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "04906337b6d53e8bb0eaf0470ae9f070a4d4eb55", "rev": "2786a2a72088ecf32aea5b3ec52099e6a7cff78f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -99,7 +99,8 @@
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nixvim": "nixvim", "nixvim": "nixvim",
"sops-nix": "sops-nix", "sops-nix": "sops-nix",
"systems": "systems_2" "systems": "systems_2",
"zen-browser": "zen-browser"
} }
}, },
"sops-nix": { "sops-nix": {
@@ -153,6 +154,29 @@
"repo": "default", "repo": "default",
"type": "github" "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", "root": "root",
+8
View File
@@ -17,6 +17,14 @@
}; };
nixvim.url = "github:nix-community/nixvim"; nixvim.url = "github:nix-community/nixvim";
zen-browser = {
url = "github:0xc000022070/zen-browser-flake";
inputs = {
nixpkgs.follows = "nixpkgs";
home-manager.follows = "home-manager";
};
};
}; };
outputs = outputs =
+1 -1
View File
@@ -13,12 +13,12 @@ in
../options.nix ../options.nix
./git.nix ./git.nix
./firefox.nix
./fish.nix ./fish.nix
./nixvim.nix ./nixvim.nix
./niri.nix ./niri.nix
./kitty.nix ./kitty.nix
./rofi ./rofi
./zen-browser.nix
]; ];
home = { 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, config,
lib,
pkgs, pkgs,
... ...
}: }:
{ {
config = lib.mkIf config.nix-leonhard.graphical.enable { programs.kitty = {
programs.kitty = { enable = config.nix-leonhard.graphical.enable;
enable = true; themeFile = "tokyo_night_night";
themeFile = "tokyo_night_night"; font = {
font = { package = pkgs.nerd-fonts.jetbrains-mono;
package = pkgs.nerd-fonts.jetbrains-mono; name = "JetBrainsMono NF";
name = "JetBrainsMono NF"; size = 14;
size = 14; };
}; keybindings = {
keybindings = { "ctrl+alt+enter" = "launch --cwd=current";
"ctrl+alt+enter" = "launch --cwd=current"; };
}; settings = {
hide_window_decorations = true;
}; };
}; };
} }
+2 -5
View File
@@ -1,12 +1,9 @@
{ {
config, config,
lib,
... ...
}: }:
{ {
config = lib.mkIf config.nix-leonhard.graphical.enable { wayland.windowManager.niri = {
wayland.windowManager.niri = { enable = config.nix-leonhard.graphical.enable;
enable = true;
};
}; };
} }
+31 -34
View File
@@ -1,44 +1,41 @@
{ {
config, config,
lib,
... ...
}: }:
{ {
config = lib.mkIf config.nix-leonhard.graphical.enable { programs.rofi = {
programs.rofi = { enable = config.nix-leonhard.graphical.enable;
enable = true; theme = ./tokyonight.rasi;
theme = ./tokyonight.rasi; settings = {
settings = { modi = [
modi = [ "drun"
"drun" "window"
"window" "run"
"run" ];
]; font = "JetBrainsMono Nerd Font 11";
font = "JetBrainsMono Nerd Font 11"; icon-theme = "Papirus-Dark";
icon-theme = "Papirus-Dark"; show-icons = true;
show-icons = true; terminal = "kitty";
terminal = "kitty"; drun-display-format = "{icon} {name}";
drun-display-format = "{icon} {name}"; location = 0;
location = 0; disable-history = false;
disable-history = false; sidebar-mode = false;
sidebar-mode = false; display-drun = " ";
display-drun = " "; display-run = " ";
display-run = " "; display-window = " ";
display-window = " ";
kb-row-up = "Up,Control+k"; kb-row-up = "Up,Control+k";
kb-row-left = "Left,Control+h"; kb-row-left = "Left,Control+h";
kb-row-right = "Right,Control+l"; kb-row-right = "Right,Control+l";
kb-row-down = "Down,Control+j"; kb-row-down = "Down,Control+j";
kb-accept-entry = "Return"; kb-accept-entry = "Return";
# remove clashing keybinds # remove clashing keybinds
kb-remove-to-eol = ""; kb-remove-to-eol = "";
kb-move-char-back = "Control+b"; kb-move-char-back = "Control+b";
kb-remove-char-back = "BackSpace"; kb-remove-char-back = "BackSpace";
kb-move-char-forward = "Control+f"; kb-move-char-forward = "Control+f";
kb-mode-complete = "Control+o"; 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";
};
} }