lots of different things. too lazy

This commit is contained in:
Markus Heurung 2024-11-28 18:16:12 +01:00
parent 44e503e1ee
commit f080d7d9ad
4 changed files with 60 additions and 3 deletions

View file

@ -37,6 +37,11 @@
url = "github:sodiboo/niri-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
# secret-config = {
# url = "git+ssh://git@code.muhh.lol/muhh/nix-config-secret.git";
# flake = true;
# };
};
outputs = {
@ -48,6 +53,7 @@
stylix,
nixvim,
niri,
# secret-config,
...
} @ inputs: let
inherit (self) outputs;
@ -63,6 +69,11 @@
lix-module.nixosModules.default
sops-nix.nixosModules.sops
niri.nixosModules.niri
# {
# environment.systemPackages = [
# secret-config.packages.${system}.default
# ];
# }
];
};
muhhStar = lib.nixosSystem {

View file

@ -28,6 +28,7 @@
curl
darktable
ddcutil
devenv
distrobox
dog
downonspot
@ -134,6 +135,13 @@
];
settings = {
auto_sync = true;
history_filter = [
"^..$"
"^cd "
"^ls "
"^mv "
"^rm "
];
key_path = config.sops.secrets.atuin_key.path;
};
};
@ -227,6 +235,9 @@
"ctrl+shift+l" = "move_window right";
"ctrl+shift+z" = "next_layout";
"ctrl+shift+c" = "copy_to_clipboard";
"ctrl+shift+v" = "paste_from_clipboard";
};
settings = {
background_opacity = lib.mkForce "0.95";
@ -254,6 +265,26 @@
vimKeys = true;
sidebar.enable = true;
};
newsboat = {
enable = true;
extraConfig = ''
color background color234 default # Dark Everforest background
color listnormal color249 default # Neutral gray for readability
color listnormal_unread color142 default # Highlighted for unread items
color listfocus color234 color142 # Inverse for focused items
color listfocus_unread color234 color142 bold
color info color108 color234 # Subtle info text
color article color249 default # Neutral for article content
# Highlights
highlight article "^(Feed|Link):.*$" color109 default bold
highlight article "^(Title|Date|Author):.*$" color109 default bold
highlight article "https?://[^ ]+" color214 default underline # Bright orange-yellow for links
highlight article "\\[[0-9]+\\]" color142 default bold # Matches unread highlight
highlight article "\\[image\\ [0-9]+\\]" color142 default bold # Matches unread highlight
highlight feedlist "^.*$" color142 color234 bold
'';
};
niri = {
enable = false;
};
@ -346,7 +377,7 @@
obsidian = {
enable = true;
settings = {
dir = "~/muhhMory";
dir = "~/muhhmory";
daily_notes = {
folder = "Journal/Daily Pages";
template = "Daily Page.md";

View file

@ -1,7 +1,10 @@
{ config, lib, pkgs, modulesPath, ... }:
{
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings = {
experimental-features = [ "nix-command" "flakes" ];
trusted-users = [ "root" "muhh" ];
};
nix.gc = {
automatic = true;

View file

@ -28,6 +28,11 @@
# Enable networking
networking.networkmanager.enable = true;
networking.hosts = {
# "178.63.121.197" = ["www.boell.de"];
"127.0.0.1" = ["muhh.local"];
};
# Workaround for broken networkmanager/systemd thing
# https://github.com/NixOS/nixpkgs/issues/180175#issuecomment-1658731959
systemd.services.NetworkManager-wait-online = {
@ -106,8 +111,10 @@
fonts.packages = with pkgs; [
atkinson-hyperlegible
iosevka
# secret-config.packages.x86_64-linux.default
];
programs = {
_1password.enable = true;
_1password-gui = {
@ -123,8 +130,13 @@
enable = true;
brightnessKeys.enable = true;
};
# niri.enable = true;
hyprland.enable = true;
niri.enable = true;
sway.enable = true;
# ssh = {
# pubkeyAcceptedKeyTypes = ["ssh-ed25519" "ssh-rsa"];
# hostKeyAlgorithms = ["ssh-ed25519" "ssh-rsa"];
# };
};
virtualisation = {
libvirtd = {