mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2026-06-21 21:21:17 +02:00
i hate my life
This commit is contained in:
parent
b85f0a45d6
commit
653dd043bb
11 changed files with 42 additions and 37 deletions
|
|
@ -14,7 +14,7 @@ with builtins;
|
|||
|
||||
environment = {
|
||||
systemPackages = with pkgs; [
|
||||
nixfmt-rfc-style
|
||||
nixfmt
|
||||
overskride
|
||||
transmission_4-gtk
|
||||
|
||||
|
|
@ -39,6 +39,7 @@ with builtins;
|
|||
iw
|
||||
nodejs
|
||||
nautilus
|
||||
lixPackageSets.latest.colmena
|
||||
|
||||
cmatrix
|
||||
sl
|
||||
|
|
@ -88,7 +89,7 @@ with builtins;
|
|||
nixpkgs-review
|
||||
nix-eval-jobs
|
||||
nix-fast-build
|
||||
colmena
|
||||
# colmena
|
||||
;
|
||||
})
|
||||
];
|
||||
|
|
|
|||
4
flake.lock
generated
4
flake.lock
generated
|
|
@ -557,13 +557,13 @@
|
|||
"locked": {
|
||||
"lastModified": 1777835090,
|
||||
"narHash": "sha256-VLH8zPweblCOvpnQXp4fVs7f6Q79YhXF5XFKlOrvIFk=",
|
||||
"owner": "danth",
|
||||
"owner": "nix-community",
|
||||
"repo": "stylix",
|
||||
"rev": "7989a1054b01153212dede6005abfd1576b8328c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "danth",
|
||||
"owner": "nix-community",
|
||||
"repo": "stylix",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
nixpkgs.url = "nixpkgs/nixos-unstable";
|
||||
nixpkgs-stable.url = "nixpkgs/nixos-25.11";
|
||||
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";
|
||||
crane.url = "github:ipetkov/crane";
|
||||
nixcord.url = "github:kaylorben/nixcord";
|
||||
|
|
@ -53,7 +53,7 @@
|
|||
};
|
||||
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 {
|
||||
buildInputs = [
|
||||
rs-toolchain
|
||||
|
|
|
|||
|
|
@ -42,9 +42,9 @@ with lib;
|
|||
magic-wormhole-rs
|
||||
|
||||
# filemanager
|
||||
xfce.thunar
|
||||
xfce.tumbler
|
||||
xfce.thunar-archive-plugin
|
||||
thunar
|
||||
tumbler
|
||||
thunar-archive-plugin
|
||||
file-roller
|
||||
|
||||
# from environment.systemPackages cleanup
|
||||
|
|
|
|||
|
|
@ -16,5 +16,6 @@
|
|||
pulsemixer
|
||||
wiremix
|
||||
crosspipe
|
||||
lmms
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, config, ... }:
|
||||
{
|
||||
home.file = {
|
||||
".tridactylrc" = {
|
||||
|
|
@ -15,6 +15,8 @@
|
|||
pkgs.tridactyl-native
|
||||
];
|
||||
};
|
||||
|
||||
configPath = ".mozilla/firefox";
|
||||
policies = {
|
||||
DefaultDownloadDirectory = "\${home}/Downloads";
|
||||
Extensions.Install = map (name: "https://addons.mozilla.org/firefox/downloads/latest/${name}") [
|
||||
|
|
@ -172,7 +174,7 @@
|
|||
}
|
||||
];
|
||||
icon = "https://lib.rs/favicon.png";
|
||||
definedAliases = [ "libs" ];
|
||||
definedAliases = [ "rl" ];
|
||||
};
|
||||
"gleam packages" = {
|
||||
urls = [
|
||||
|
|
@ -187,7 +189,7 @@
|
|||
}
|
||||
];
|
||||
icon = "https://packages.gleam.run/static/packages-icon.svg";
|
||||
definedAliases = [ "libs" ];
|
||||
definedAliases = [ "gl" ];
|
||||
};
|
||||
"rust docs" = {
|
||||
urls = [
|
||||
|
|
|
|||
|
|
@ -14,9 +14,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 " ")
|
||||
|
|
@ -24,7 +38,8 @@
|
|||
other = [
|
||||
"include \"live.kdl\""
|
||||
"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}\"; }; }"
|
||||
];
|
||||
in
|
||||
|
|
|
|||
|
|
@ -4,15 +4,9 @@
|
|||
|
||||
services.swayidle = {
|
||||
enable = true;
|
||||
events = [
|
||||
{
|
||||
event = "before-sleep";
|
||||
command = "${pkgs.swaylock}/bin/swaylock -fF -c 442244";
|
||||
}
|
||||
{
|
||||
event = "lock";
|
||||
command = "swaylock -c 441144";
|
||||
}
|
||||
];
|
||||
events = {
|
||||
"before-sleep" = "${pkgs.swaylock}/bin/swaylock -fF -c 442244";
|
||||
"lock" = "swaylock -c 441144";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
};
|
||||
};
|
||||
home-manager.users.jade =
|
||||
{ pkgs, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
stylix.targets = {
|
||||
firefox = {
|
||||
|
|
@ -43,6 +43,7 @@
|
|||
};
|
||||
gtk = {
|
||||
enable = true;
|
||||
gtk4.theme = config.gtk.theme;
|
||||
cursorTheme = {
|
||||
package = pkgs.phinger-cursors;
|
||||
name = "phinger-cursors";
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@
|
|||
"discord-presence-lsp"
|
||||
];
|
||||
formatter = {
|
||||
command = "${pkgs.nixfmt-rfc-style}/bin/nixfmt";
|
||||
command = "${pkgs.nixfmt}/bin/nixfmt";
|
||||
args = [ "--quiet" ];
|
||||
};
|
||||
auto-format = true;
|
||||
|
|
|
|||
|
|
@ -19,15 +19,6 @@
|
|||
signByDefault = true;
|
||||
};
|
||||
};
|
||||
programs.jujutsu = {
|
||||
enable = true;
|
||||
settings = {
|
||||
user = {
|
||||
name = config.programs.git.userName;
|
||||
email = config.programs.git.userEmail;
|
||||
};
|
||||
};
|
||||
};
|
||||
programs.gitui = {
|
||||
enable = true;
|
||||
keyConfig = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue