i hate my life

This commit is contained in:
Schrottkatze 2026-06-24 03:25:50 +02:00
commit 653dd043bb
No known key found for this signature in database
11 changed files with 42 additions and 37 deletions

View file

@ -14,7 +14,7 @@ with builtins;
environment = { environment = {
systemPackages = with pkgs; [ systemPackages = with pkgs; [
nixfmt-rfc-style nixfmt
overskride overskride
transmission_4-gtk transmission_4-gtk
@ -39,6 +39,7 @@ with builtins;
iw iw
nodejs nodejs
nautilus nautilus
lixPackageSets.latest.colmena
cmatrix cmatrix
sl sl
@ -88,7 +89,7 @@ with builtins;
nixpkgs-review nixpkgs-review
nix-eval-jobs nix-eval-jobs
nix-fast-build nix-fast-build
colmena # colmena
; ;
}) })
]; ];

4
flake.lock generated
View file

@ -557,13 +557,13 @@
"locked": { "locked": {
"lastModified": 1777835090, "lastModified": 1777835090,
"narHash": "sha256-VLH8zPweblCOvpnQXp4fVs7f6Q79YhXF5XFKlOrvIFk=", "narHash": "sha256-VLH8zPweblCOvpnQXp4fVs7f6Q79YhXF5XFKlOrvIFk=",
"owner": "danth", "owner": "nix-community",
"repo": "stylix", "repo": "stylix",
"rev": "7989a1054b01153212dede6005abfd1576b8328c", "rev": "7989a1054b01153212dede6005abfd1576b8328c",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "danth", "owner": "nix-community",
"repo": "stylix", "repo": "stylix",
"type": "github" "type": "github"
} }

View file

@ -5,7 +5,7 @@
nixpkgs.url = "nixpkgs/nixos-unstable"; nixpkgs.url = "nixpkgs/nixos-unstable";
nixpkgs-stable.url = "nixpkgs/nixos-25.11"; nixpkgs-stable.url = "nixpkgs/nixos-25.11";
nixpkgs-unstable-small.url = "nixpkgs/nixos-unstable-small"; nixpkgs-unstable-small.url = "nixpkgs/nixos-unstable-small";
stylix.url = "github:danth/stylix"; stylix.url = "github:nix-community/stylix";
typst-within.url = "github:schrottkatze/typst"; typst-within.url = "github:schrottkatze/typst";
crane.url = "github:ipetkov/crane"; crane.url = "github:ipetkov/crane";
nixcord.url = "github:kaylorben/nixcord"; nixcord.url = "github:kaylorben/nixcord";
@ -53,7 +53,7 @@
}; };
in in
{ {
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt-rfc-style; formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt;
devShells."x86_64-linux".default = pkgs.mkShell { devShells."x86_64-linux".default = pkgs.mkShell {
buildInputs = [ buildInputs = [
rs-toolchain rs-toolchain

View file

@ -42,9 +42,9 @@ with lib;
magic-wormhole-rs magic-wormhole-rs
# filemanager # filemanager
xfce.thunar thunar
xfce.tumbler tumbler
xfce.thunar-archive-plugin thunar-archive-plugin
file-roller file-roller
# from environment.systemPackages cleanup # from environment.systemPackages cleanup

View file

@ -16,5 +16,6 @@
pulsemixer pulsemixer
wiremix wiremix
crosspipe crosspipe
lmms
]; ];
} }

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: { pkgs, config, ... }:
{ {
home.file = { home.file = {
".tridactylrc" = { ".tridactylrc" = {
@ -15,6 +15,8 @@
pkgs.tridactyl-native pkgs.tridactyl-native
]; ];
}; };
configPath = ".mozilla/firefox";
policies = { policies = {
DefaultDownloadDirectory = "\${home}/Downloads"; DefaultDownloadDirectory = "\${home}/Downloads";
Extensions.Install = map (name: "https://addons.mozilla.org/firefox/downloads/latest/${name}") [ Extensions.Install = map (name: "https://addons.mozilla.org/firefox/downloads/latest/${name}") [
@ -172,7 +174,7 @@
} }
]; ];
icon = "https://lib.rs/favicon.png"; icon = "https://lib.rs/favicon.png";
definedAliases = [ "libs" ]; definedAliases = [ "rl" ];
}; };
"gleam packages" = { "gleam packages" = {
urls = [ urls = [
@ -187,7 +189,7 @@
} }
]; ];
icon = "https://packages.gleam.run/static/packages-icon.svg"; icon = "https://packages.gleam.run/static/packages-icon.svg";
definedAliases = [ "libs" ]; definedAliases = [ "gl" ];
}; };
"rust docs" = { "rust docs" = {
urls = [ urls = [

View file

@ -14,9 +14,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 " ")
@ -24,7 +38,8 @@
other = [ other = [
"include \"live.kdl\"" "include \"live.kdl\""
"output \"eDP-1\" { scale 1.1; }" "output \"eDP-1\" { scale 1.1; }"
"animations { window-open { duration-ms 3000; curve \"linear\"; custom-shader r\"\n${builtins.readFile ./shaders/arc.frag}\";};}" # conflicts with blur
# "animations { window-open { duration-ms 3000; curve \"linear\"; custom-shader r\"\n${builtins.readFile ./shaders/arc.frag}\";};}"
"binds {Mod+Shift+I { spawn \"${./scripts/cpdate.sh}\"; }; }" "binds {Mod+Shift+I { spawn \"${./scripts/cpdate.sh}\"; }; }"
]; ];
in in

View file

@ -4,15 +4,9 @@
services.swayidle = { services.swayidle = {
enable = true; enable = true;
events = [ events = {
{ "before-sleep" = "${pkgs.swaylock}/bin/swaylock -fF -c 442244";
event = "before-sleep"; "lock" = "swaylock -c 441144";
command = "${pkgs.swaylock}/bin/swaylock -fF -c 442244"; };
}
{
event = "lock";
command = "swaylock -c 441144";
}
];
}; };
} }

View file

@ -27,7 +27,7 @@
}; };
}; };
home-manager.users.jade = home-manager.users.jade =
{ pkgs, ... }: { config, pkgs, ... }:
{ {
stylix.targets = { stylix.targets = {
firefox = { firefox = {
@ -43,6 +43,7 @@
}; };
gtk = { gtk = {
enable = true; enable = true;
gtk4.theme = config.gtk.theme;
cursorTheme = { cursorTheme = {
package = pkgs.phinger-cursors; package = pkgs.phinger-cursors;
name = "phinger-cursors"; name = "phinger-cursors";

View file

@ -126,7 +126,7 @@
"discord-presence-lsp" "discord-presence-lsp"
]; ];
formatter = { formatter = {
command = "${pkgs.nixfmt-rfc-style}/bin/nixfmt"; command = "${pkgs.nixfmt}/bin/nixfmt";
args = [ "--quiet" ]; args = [ "--quiet" ];
}; };
auto-format = true; auto-format = true;

View file

@ -19,15 +19,6 @@
signByDefault = true; signByDefault = true;
}; };
}; };
programs.jujutsu = {
enable = true;
settings = {
user = {
name = config.programs.git.userName;
email = config.programs.git.userEmail;
};
};
};
programs.gitui = { programs.gitui = {
enable = true; enable = true;
keyConfig = '' keyConfig = ''