Compare commits

..

No commits in common. "31eb5f813f5f9bb0a4b04c65625a2f51f1242573" and "4cc87ea1d66c28d75e815cd4e01e0ea202443cda" have entirely different histories.

10 changed files with 25 additions and 76 deletions

View file

@ -68,8 +68,6 @@ with builtins;
ungoogled-chromium
scc
speedtest-rs
(pkgs.callPackage ./programs/edname.nix {})
];
};

View file

@ -28,7 +28,6 @@
devices."AT Translated Set 2 keyboard" = default;
devices."Razer Razer Huntsman" = default;
devices."Razer Razer DeathAdder V2" = default;
devices."Microsoft Microsoft Ergonomic Keyboard" = default;
};
hardware.trackpoint = {

View file

@ -78,7 +78,6 @@
];
programs = {
wireshark.enable = true;
wireshark.package = pkgs.wireshark-qt;
seahorse.enable = true;
};

View file

@ -1,15 +1,12 @@
upgrade: update build
init-live:
touch ~/.config/niri/live.kdl
test: init-live
test:
sudo nixos-rebuild test --flake . --log-format multiline
build: init-live
build:
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
update:

View file

@ -30,7 +30,6 @@
pkgs.bemoji
pkgs.librsvg
pkgs.cairo
pkgs.xwayland-satellite
];
services.gpg-agent = {

View file

@ -2,10 +2,6 @@
# else it will be ugly
{ pkgs, lib, ... }:
{
home.packages = with pkgs; [
zenity
xwayland-satellite
];
home.file."config" =
let
kdlfiles =
@ -14,9 +10,23 @@
|> lib.mapAttrsToList (filename: _value: "include \"${./kdl}/${filename}\"");
startups =
[
[ "eww" "open-many" "topBar" "bottomBar" ]
[ "${pkgs.swaybg}/bin/swaybg" "-i" "${./wallpaper.jpg}" "-m" "fill" ]
[ "touch" ".config/niri/live.kdl" ]
[
"eww"
"open-many"
"topBar"
"bottomBar"
]
[
"${pkgs.swaybg}/bin/swaybg"
"-i"
"${./wallpaper.jpg}"
"-m"
"fill"
]
[
"touch"
".config/niri/live.kdl"
]
]
|> map (map (word: "\"${word}\""))
|> map (lib.concatStringsSep " ")

View file

@ -23,20 +23,10 @@ window-rule {
}
window-rule {
match app-id="chromium-browser"
geometry-corner-radius 6 6 1 1
}
window-rule {
match app-id="vesktop" is-floating=true
geometry-corner-radius 6
match app-id="vesktop" is-floating=true title="vesktop"
geometry-corner-radius 5
}
environment {
ELECTRON_OZONE_PLATFORM_HINT "auto"
}
window-rule {
match app-id="zenity"
geometry-corner-radius 16
}

View file

@ -1,6 +1,9 @@
screenshot-path "~/Pictures/screenshots/%Y-%m-%dT%H:%M:%S.png"
binds {
Ctrl+Print { screenshot-screen; }
Mod+Ctrl+S { screenshot-screen; }
Mod+Shift+S { screenshot-window; }
Shift+Print { screenshot-window; }
Mod+S { screenshot; }
Print { screenshot; }
}

View file

@ -5,7 +5,6 @@
{
programs.btop = {
enable = true;
package = pkgs.btop-rocm;
settings = {
shown_boxes = "cpu mem net proc gpu0";
color_theme = "gruvbox_dark";

View file

@ -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";
};
}