lots of different things. too lazy
This commit is contained in:
parent
44e503e1ee
commit
f080d7d9ad
4 changed files with 60 additions and 3 deletions
11
flake.nix
11
flake.nix
|
@ -37,6 +37,11 @@
|
||||||
url = "github:sodiboo/niri-flake";
|
url = "github:sodiboo/niri-flake";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# secret-config = {
|
||||||
|
# url = "git+ssh://git@code.muhh.lol/muhh/nix-config-secret.git";
|
||||||
|
# flake = true;
|
||||||
|
# };
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
|
@ -48,6 +53,7 @@
|
||||||
stylix,
|
stylix,
|
||||||
nixvim,
|
nixvim,
|
||||||
niri,
|
niri,
|
||||||
|
# secret-config,
|
||||||
...
|
...
|
||||||
} @ inputs: let
|
} @ inputs: let
|
||||||
inherit (self) outputs;
|
inherit (self) outputs;
|
||||||
|
@ -63,6 +69,11 @@
|
||||||
lix-module.nixosModules.default
|
lix-module.nixosModules.default
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
niri.nixosModules.niri
|
niri.nixosModules.niri
|
||||||
|
# {
|
||||||
|
# environment.systemPackages = [
|
||||||
|
# secret-config.packages.${system}.default
|
||||||
|
# ];
|
||||||
|
# }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
muhhStar = lib.nixosSystem {
|
muhhStar = lib.nixosSystem {
|
||||||
|
|
33
home.nix
33
home.nix
|
@ -28,6 +28,7 @@
|
||||||
curl
|
curl
|
||||||
darktable
|
darktable
|
||||||
ddcutil
|
ddcutil
|
||||||
|
devenv
|
||||||
distrobox
|
distrobox
|
||||||
dog
|
dog
|
||||||
downonspot
|
downonspot
|
||||||
|
@ -134,6 +135,13 @@
|
||||||
];
|
];
|
||||||
settings = {
|
settings = {
|
||||||
auto_sync = true;
|
auto_sync = true;
|
||||||
|
history_filter = [
|
||||||
|
"^..$"
|
||||||
|
"^cd "
|
||||||
|
"^ls "
|
||||||
|
"^mv "
|
||||||
|
"^rm "
|
||||||
|
];
|
||||||
key_path = config.sops.secrets.atuin_key.path;
|
key_path = config.sops.secrets.atuin_key.path;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -227,6 +235,9 @@
|
||||||
"ctrl+shift+l" = "move_window right";
|
"ctrl+shift+l" = "move_window right";
|
||||||
|
|
||||||
"ctrl+shift+z" = "next_layout";
|
"ctrl+shift+z" = "next_layout";
|
||||||
|
|
||||||
|
"ctrl+shift+c" = "copy_to_clipboard";
|
||||||
|
"ctrl+shift+v" = "paste_from_clipboard";
|
||||||
};
|
};
|
||||||
settings = {
|
settings = {
|
||||||
background_opacity = lib.mkForce "0.95";
|
background_opacity = lib.mkForce "0.95";
|
||||||
|
@ -254,6 +265,26 @@
|
||||||
vimKeys = true;
|
vimKeys = true;
|
||||||
sidebar.enable = 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 = {
|
niri = {
|
||||||
enable = false;
|
enable = false;
|
||||||
};
|
};
|
||||||
|
@ -346,7 +377,7 @@
|
||||||
obsidian = {
|
obsidian = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
dir = "~/muhhMory";
|
dir = "~/muhhmory";
|
||||||
daily_notes = {
|
daily_notes = {
|
||||||
folder = "Journal/Daily Pages";
|
folder = "Journal/Daily Pages";
|
||||||
template = "Daily Page.md";
|
template = "Daily Page.md";
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
{ config, lib, pkgs, modulesPath, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings = {
|
||||||
|
experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
trusted-users = [ "root" "muhh" ];
|
||||||
|
};
|
||||||
|
|
||||||
nix.gc = {
|
nix.gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
|
|
|
@ -28,6 +28,11 @@
|
||||||
# Enable networking
|
# Enable networking
|
||||||
networking.networkmanager.enable = true;
|
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
|
# Workaround for broken networkmanager/systemd thing
|
||||||
# https://github.com/NixOS/nixpkgs/issues/180175#issuecomment-1658731959
|
# https://github.com/NixOS/nixpkgs/issues/180175#issuecomment-1658731959
|
||||||
systemd.services.NetworkManager-wait-online = {
|
systemd.services.NetworkManager-wait-online = {
|
||||||
|
@ -106,8 +111,10 @@
|
||||||
fonts.packages = with pkgs; [
|
fonts.packages = with pkgs; [
|
||||||
atkinson-hyperlegible
|
atkinson-hyperlegible
|
||||||
iosevka
|
iosevka
|
||||||
|
# secret-config.packages.x86_64-linux.default
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
_1password.enable = true;
|
_1password.enable = true;
|
||||||
_1password-gui = {
|
_1password-gui = {
|
||||||
|
@ -123,8 +130,13 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
brightnessKeys.enable = true;
|
brightnessKeys.enable = true;
|
||||||
};
|
};
|
||||||
# niri.enable = true;
|
hyprland.enable = true;
|
||||||
|
niri.enable = true;
|
||||||
sway.enable = true;
|
sway.enable = true;
|
||||||
|
# ssh = {
|
||||||
|
# pubkeyAcceptedKeyTypes = ["ssh-ed25519" "ssh-rsa"];
|
||||||
|
# hostKeyAlgorithms = ["ssh-ed25519" "ssh-rsa"];
|
||||||
|
# };
|
||||||
};
|
};
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
libvirtd = {
|
libvirtd = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue