mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-25 16:08:30 +02:00
cleanup and restructuring
This commit is contained in:
parent
706220f980
commit
8b2ea66132
17 changed files with 85 additions and 97 deletions
|
@ -1,22 +1,21 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
imports =
|
||||
[
|
||||
./accounts
|
||||
./foot
|
||||
./fzf
|
||||
./git
|
||||
./gpg
|
||||
./hyprland
|
||||
./neovim
|
||||
./qutebrowser
|
||||
./sops
|
||||
./spotify
|
||||
./ssh
|
||||
./tmux
|
||||
./vifm
|
||||
./theme
|
||||
./zsh
|
||||
./packages.nix
|
||||
];
|
||||
imports = [
|
||||
./accounts
|
||||
./foot
|
||||
./fzf
|
||||
./git
|
||||
./gpg
|
||||
./hyprland
|
||||
./neovim
|
||||
./qutebrowser
|
||||
./sops
|
||||
./spotify
|
||||
./ssh
|
||||
./tmux
|
||||
./vifm
|
||||
./theme
|
||||
./zsh
|
||||
./packages.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
bell = {
|
||||
urgent = true;
|
||||
notify = true;
|
||||
#command = "${pkgs.notify-desktop}/bin/notify-desktop a";
|
||||
};
|
||||
colors =
|
||||
let
|
||||
|
|
|
@ -1,13 +1,12 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [ delta ];
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "Rouven Seifert";
|
||||
userEmail = "rouven@rfive.de";
|
||||
extraConfig = {
|
||||
core.pager = "delta";
|
||||
interactive.diffFilter = "delta --color-only";
|
||||
core.pager = "${pkgs.delta}/bin/delta";
|
||||
interactive.diffFilter = "${pkgs.delta}/bin/delta --color-only";
|
||||
delta = {
|
||||
navigate = true;
|
||||
light = false;
|
||||
|
|
|
@ -1,13 +1,16 @@
|
|||
{ config, ... }:
|
||||
let
|
||||
git = "~/.ssh/git";
|
||||
in
|
||||
{
|
||||
programs.ssh = {
|
||||
programs.ssh = rec {
|
||||
enable = true;
|
||||
matchBlocks = {
|
||||
"se-gitlab.inf.tu-dresden.de" = {
|
||||
identityFile = "~/.ssh/git";
|
||||
identityFile = git;
|
||||
};
|
||||
"github.com" = {
|
||||
identityFile = "~/.ssh/git";
|
||||
identityFile = git;
|
||||
};
|
||||
"rfive.de" = {
|
||||
user = "debian";
|
||||
|
@ -16,10 +19,11 @@
|
|||
hostname = "kaki.ifsr.de";
|
||||
user = "root";
|
||||
};
|
||||
"fsr" = {
|
||||
"ifsr" = {
|
||||
hostname = "ifsr.de";
|
||||
user = "rouven.seifert";
|
||||
};
|
||||
"fsr" = matchBlocks."ifsr";
|
||||
"quitte" = {
|
||||
hostname = "quitte.ifsr.de";
|
||||
user = "root";
|
||||
|
@ -30,15 +34,15 @@
|
|||
};
|
||||
"git@rfive.de" = {
|
||||
match = "Host rfive.de User git";
|
||||
identityFile = "~/.ssh/git";
|
||||
identityFile = git;
|
||||
};
|
||||
"git@raspi" = {
|
||||
match = "Host raspi User git";
|
||||
identityFile = "~/.ssh/git";
|
||||
identityFile = git;
|
||||
};
|
||||
"git@ifsr.de" = {
|
||||
match = "Host ifsr.de User git";
|
||||
identityFile = "~/.ssh/git";
|
||||
identityFile = git;
|
||||
};
|
||||
};
|
||||
extraConfig = ''
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ pkgs, nix-colors, ... }:
|
||||
{
|
||||
colorScheme = nix-colors.colorSchemes.dracula;
|
||||
|
||||
# theme hardcoded to dracula, too lazy to make all this base16
|
||||
home.sessionVariables.GTK_THEME = "Dracula";
|
||||
gtk = {
|
||||
|
|
|
@ -48,7 +48,6 @@
|
|||
localVariables = {
|
||||
COMPLETION_WAITING_DOTS = "true";
|
||||
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE = "fg=#00bbbb,bold";
|
||||
# ZSH_AUTOSUGGEST_STRATEGY="(history completion)";
|
||||
};
|
||||
|
||||
initExtra =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue