mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2026-03-02 10:52:48 +01:00
Compare commits
No commits in common. "31eb5f813f5f9bb0a4b04c65625a2f51f1242573" and "4cc87ea1d66c28d75e815cd4e01e0ea202443cda" have entirely different histories.
31eb5f813f
...
4cc87ea1d6
10 changed files with 25 additions and 76 deletions
|
|
@ -68,8 +68,6 @@ with builtins;
|
||||||
ungoogled-chromium
|
ungoogled-chromium
|
||||||
scc
|
scc
|
||||||
speedtest-rs
|
speedtest-rs
|
||||||
|
|
||||||
(pkgs.callPackage ./programs/edname.nix {})
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,6 @@
|
||||||
devices."AT Translated Set 2 keyboard" = default;
|
devices."AT Translated Set 2 keyboard" = default;
|
||||||
devices."Razer Razer Huntsman" = default;
|
devices."Razer Razer Huntsman" = default;
|
||||||
devices."Razer Razer DeathAdder V2" = default;
|
devices."Razer Razer DeathAdder V2" = default;
|
||||||
devices."Microsoft Microsoft Ergonomic Keyboard" = default;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.trackpoint = {
|
hardware.trackpoint = {
|
||||||
|
|
|
||||||
|
|
@ -78,7 +78,6 @@
|
||||||
];
|
];
|
||||||
programs = {
|
programs = {
|
||||||
wireshark.enable = true;
|
wireshark.enable = true;
|
||||||
wireshark.package = pkgs.wireshark-qt;
|
|
||||||
seahorse.enable = true;
|
seahorse.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
9
justfile
9
justfile
|
|
@ -1,15 +1,12 @@
|
||||||
upgrade: update build
|
upgrade: update build
|
||||||
|
|
||||||
init-live:
|
test:
|
||||||
touch ~/.config/niri/live.kdl
|
|
||||||
|
|
||||||
test: init-live
|
|
||||||
sudo nixos-rebuild test --flake . --log-format multiline
|
sudo nixos-rebuild test --flake . --log-format multiline
|
||||||
|
|
||||||
build: init-live
|
build:
|
||||||
sudo nixos-rebuild switch --flake . --log-format multiline
|
sudo nixos-rebuild switch --flake . --log-format multiline
|
||||||
|
|
||||||
tbuild: init-live
|
tbuild:
|
||||||
sudo nixos-rebuild switch --flake . --no-reexec --log-format multiline-with-logs --show-trace
|
sudo nixos-rebuild switch --flake . --no-reexec --log-format multiline-with-logs --show-trace
|
||||||
|
|
||||||
update:
|
update:
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,6 @@
|
||||||
pkgs.bemoji
|
pkgs.bemoji
|
||||||
pkgs.librsvg
|
pkgs.librsvg
|
||||||
pkgs.cairo
|
pkgs.cairo
|
||||||
pkgs.xwayland-satellite
|
|
||||||
];
|
];
|
||||||
|
|
||||||
services.gpg-agent = {
|
services.gpg-agent = {
|
||||||
|
|
|
||||||
|
|
@ -2,10 +2,6 @@
|
||||||
# else it will be ugly
|
# else it will be ugly
|
||||||
{ pkgs, lib, ... }:
|
{ pkgs, lib, ... }:
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
|
||||||
zenity
|
|
||||||
xwayland-satellite
|
|
||||||
];
|
|
||||||
home.file."config" =
|
home.file."config" =
|
||||||
let
|
let
|
||||||
kdlfiles =
|
kdlfiles =
|
||||||
|
|
@ -14,9 +10,23 @@
|
||||||
|> lib.mapAttrsToList (filename: _value: "include \"${./kdl}/${filename}\"");
|
|> lib.mapAttrsToList (filename: _value: "include \"${./kdl}/${filename}\"");
|
||||||
startups =
|
startups =
|
||||||
[
|
[
|
||||||
[ "eww" "open-many" "topBar" "bottomBar" ]
|
[
|
||||||
[ "${pkgs.swaybg}/bin/swaybg" "-i" "${./wallpaper.jpg}" "-m" "fill" ]
|
"eww"
|
||||||
[ "touch" ".config/niri/live.kdl" ]
|
"open-many"
|
||||||
|
"topBar"
|
||||||
|
"bottomBar"
|
||||||
|
]
|
||||||
|
[
|
||||||
|
"${pkgs.swaybg}/bin/swaybg"
|
||||||
|
"-i"
|
||||||
|
"${./wallpaper.jpg}"
|
||||||
|
"-m"
|
||||||
|
"fill"
|
||||||
|
]
|
||||||
|
[
|
||||||
|
"touch"
|
||||||
|
".config/niri/live.kdl"
|
||||||
|
]
|
||||||
]
|
]
|
||||||
|> map (map (word: "\"${word}\""))
|
|> map (map (word: "\"${word}\""))
|
||||||
|> map (lib.concatStringsSep " ")
|
|> map (lib.concatStringsSep " ")
|
||||||
|
|
|
||||||
|
|
@ -23,20 +23,10 @@ window-rule {
|
||||||
}
|
}
|
||||||
|
|
||||||
window-rule {
|
window-rule {
|
||||||
match app-id="chromium-browser"
|
match app-id="vesktop" is-floating=true title="vesktop"
|
||||||
geometry-corner-radius 6 6 1 1
|
geometry-corner-radius 5
|
||||||
}
|
|
||||||
|
|
||||||
window-rule {
|
|
||||||
match app-id="vesktop" is-floating=true
|
|
||||||
geometry-corner-radius 6
|
|
||||||
}
|
}
|
||||||
|
|
||||||
environment {
|
environment {
|
||||||
ELECTRON_OZONE_PLATFORM_HINT "auto"
|
ELECTRON_OZONE_PLATFORM_HINT "auto"
|
||||||
}
|
}
|
||||||
|
|
||||||
window-rule {
|
|
||||||
match app-id="zenity"
|
|
||||||
geometry-corner-radius 16
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
screenshot-path "~/Pictures/screenshots/%Y-%m-%dT%H:%M:%S.png"
|
screenshot-path "~/Pictures/screenshots/%Y-%m-%dT%H:%M:%S.png"
|
||||||
binds {
|
binds {
|
||||||
|
Ctrl+Print { screenshot-screen; }
|
||||||
Mod+Ctrl+S { screenshot-screen; }
|
Mod+Ctrl+S { screenshot-screen; }
|
||||||
Mod+Shift+S { screenshot-window; }
|
Mod+Shift+S { screenshot-window; }
|
||||||
|
Shift+Print { screenshot-window; }
|
||||||
Mod+S { screenshot; }
|
Mod+S { screenshot; }
|
||||||
|
Print { screenshot; }
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@
|
||||||
{
|
{
|
||||||
programs.btop = {
|
programs.btop = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.btop-rocm;
|
|
||||||
settings = {
|
settings = {
|
||||||
shown_boxes = "cpu mem net proc gpu0";
|
shown_boxes = "cpu mem net proc gpu0";
|
||||||
color_theme = "gruvbox_dark";
|
color_theme = "gruvbox_dark";
|
||||||
|
|
|
||||||
|
|
@ -1,45 +0,0 @@
|
||||||
{
|
|
||||||
stdenv,
|
|
||||||
coreutils,
|
|
||||||
findutils,
|
|
||||||
gnused,
|
|
||||||
lib,
|
|
||||||
fetchFromGitea,
|
|
||||||
makeWrapper,
|
|
||||||
}:
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
|
|
||||||
pname = "edname";
|
|
||||||
version = "1.0.2";
|
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
|
||||||
|
|
||||||
src = fetchFromGitea {
|
|
||||||
domain = "git.tudbut.de";
|
|
||||||
owner = "TudbuT";
|
|
||||||
repo = "edname";
|
|
||||||
rev = "v${version}";
|
|
||||||
hash = "sha256-8aT/xwdx/ORyCFfOu4LZuxUiErZ9ZiCdhJ/WKAiQwe0=";
|
|
||||||
};
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out/bin
|
|
||||||
cp edname.sh "$out/bin/edname"
|
|
||||||
wrapProgram "$out/bin/edname" \
|
|
||||||
--prefix PATH : "${
|
|
||||||
lib.makeBinPath [
|
|
||||||
coreutils
|
|
||||||
findutils
|
|
||||||
gnused
|
|
||||||
]
|
|
||||||
}"
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "Mass renamer using $EDITOR";
|
|
||||||
license = licenses.mit;
|
|
||||||
maintainers = [ maintainers.tudbut ];
|
|
||||||
homepage = "https://git.tudbut.de/TudbuT/edname";
|
|
||||||
mainProgram = "edname";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue