mirror of
https://github.com/larstvei/nix-config.git
synced 2025-11-05 07:50:12 +00:00
Compare commits
No commits in common. "7e0fd0bac0f73aab1992a318c9facbe00405c05a" and "29b20ad706944250b979ddd634769b0d0975b263" have entirely different histories.
7e0fd0bac0
...
29b20ad706
@ -12,9 +12,22 @@
|
||||
imports = [
|
||||
zen-browser.homeModules.beta
|
||||
./hyprland
|
||||
./theme
|
||||
];
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = [
|
||||
pkgs.xdg-desktop-portal-hyprland
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
];
|
||||
config.hyprland."org.freedesktop.impl.portal.Settings" = "darkman";
|
||||
};
|
||||
|
||||
services.darkman = {
|
||||
enable = true;
|
||||
settings.portal = true;
|
||||
};
|
||||
|
||||
programs.zen-browser = {
|
||||
enable = true;
|
||||
policies = {
|
||||
|
||||
@ -8,10 +8,13 @@
|
||||
|
||||
misc = {
|
||||
disable_hyprland_logo = true;
|
||||
background_color = "0x1A1D23";
|
||||
};
|
||||
|
||||
general = {
|
||||
border_size = 2;
|
||||
"col.active_border" = "0xFF81A1C1";
|
||||
"col.inactive_border" = "0xFF677691";
|
||||
layout = "master";
|
||||
};
|
||||
|
||||
@ -116,8 +119,6 @@
|
||||
"$mod, =, resizeactive, +10"
|
||||
"$mod, -, resizeactive, -10"
|
||||
|
||||
"$mod, D, exec, darkman toggle"
|
||||
|
||||
# Text input (macOS-like way of producing Norwegian characters)
|
||||
"$mod, A, exec, wtype 'å'"
|
||||
"$mod, O, exec, wtype 'ø'"
|
||||
|
||||
@ -1,44 +0,0 @@
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
bg = {
|
||||
light = "FAFAFA";
|
||||
dark = "2E3440";
|
||||
};
|
||||
fg = {
|
||||
light = "37474F";
|
||||
dark = "ECEFF4";
|
||||
};
|
||||
primary = {
|
||||
light = "673AB7";
|
||||
dark = "81A1C1";
|
||||
};
|
||||
secondary = {
|
||||
light = "90A4AE";
|
||||
dark = "677691";
|
||||
};
|
||||
in
|
||||
{
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = [
|
||||
pkgs.xdg-desktop-portal-hyprland
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
];
|
||||
config.hyprland."org.freedesktop.impl.portal.Settings" = "darkman";
|
||||
};
|
||||
|
||||
services.darkman = {
|
||||
enable = true;
|
||||
settings.portal = true;
|
||||
lightModeScripts.hyprland-light = ''
|
||||
hyprctl keyword misc:background_color 0x${bg.light}
|
||||
hyprctl keyword general:col.active_border 0xFF${primary.light}
|
||||
hyprctl keyword general:col.inactive_border 0xFF${secondary.light}
|
||||
'';
|
||||
darkModeScripts.hyprland-dark = ''
|
||||
hyprctl keyword misc:background_color 0x${bg.dark}
|
||||
hyprctl keyword general:col.active_border 0xFF${primary.dark}
|
||||
hyprctl keyword general:col.inactive_border 0xFF${secondary.dark}
|
||||
'';
|
||||
};
|
||||
}
|
||||
@ -5,8 +5,6 @@ with pkgs;
|
||||
cbqn
|
||||
];
|
||||
|
||||
c = [ gcc ];
|
||||
|
||||
clojure = [
|
||||
babashka
|
||||
clj-kondo
|
||||
|
||||
@ -69,9 +69,6 @@ in
|
||||
# Enable CUPS to print documents.
|
||||
services.printing.enable = true;
|
||||
|
||||
# Enable bluetooth.
|
||||
hardware.bluetooth.enable = true;
|
||||
|
||||
# Enable sound with pipewire.
|
||||
services.pulseaudio.enable = false;
|
||||
security.rtkit.enable = true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user