Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 41 additions & 41 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions nix/flake/cachix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ in
ilkecan = concatLists [
(filter isPatchedInput (attrValues inputs))
(mapAttrsToList (_: v: v.apps.ci.program) config.allSystems)
(concatLists (mapAttrsToList (_: v: attrValues v.checks) config.allSystems))
];
};
};
Expand Down
15 changes: 10 additions & 5 deletions nix/modules/flake/cachix-push.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
let
inherit (lib)
concatStringsSep
filter
getExe
mapAttrsToList
mkIf
Expand All @@ -20,6 +21,14 @@ let
inherit (drv) meta;
};

mkCachixPush =
cache: objects:
let
pureObjects = filter (x: !x ? __impure) objects;
paths = map toString pureObjects;
in
"cachix push ${cache} ${concatStringsSep " " paths}";

cfg = config.flake.cachix;
in
{
Expand All @@ -42,11 +51,7 @@ in
pkgs.writeShellApplication {
name = "cachix-push";
runtimeInputs = [ pkgs.cachix ];
text = concatStringsSep "\n" (
mapAttrsToList (
cache: paths: "cachix push ${cache} ${concatStringsSep " " (map toString paths)}"
) cfg.push
);
text = concatStringsSep "\n" (mapAttrsToList mkCachixPush cfg.push);
}
);
};
Expand Down
6 changes: 3 additions & 3 deletions nix/users/ilkecan/dotfiles/.config/niri/dms/outputs.kdl
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
output "eDP-1" {
mode "1920x1200@60.003"
scale 1.25
scale 1
position x=0 y=0
}

output "DP-3" {
mode "3840x2160@120.000"
scale 2
position x=-1920 y=-120
position x=-1920 y=60
focus-at-startup
}

output "HDMI-A-1" {
mode "1920x1080@60.000"
scale 1
position x=-192 y=-1080
position x=0 y=-1080
}
2 changes: 1 addition & 1 deletion nix/users/ilkecan/multimedia/video.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
ffmpeg-full
gpu-screen-recorder
gpu-screen-recorder-gtk
unstable.stremio-linux-shell
stremio-linux-shell
vlc
];

Expand Down
6 changes: 5 additions & 1 deletion nix/users/ilkecan/wayland/niri/autostart.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ let
homeDirectory
;

inherit (config.xdg)
userDirs
;

githubDir = "${homeDirectory}/repos/git/github.com";
in
{
Expand Down Expand Up @@ -44,7 +48,7 @@ in
{
argv = [
"nautilus"
homeDirectory
userDirs.download
];
}
{
Expand Down
6 changes: 5 additions & 1 deletion nix/users/ilkecan/wayland/niri/window-rules.nix
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,14 @@
}
{
matches = [ { app-id = ''^steam_app_\d*$''; } ];
block-out-from = "screen-capture";
open-maximized = true;
open-on-workspace = "gaming";
}
{
matches = [ { app-id = ''^steam_app_\d*$''; } ];
excludes = [ { app-id = "^steam_app_1973530$"; } ];
block-out-from = "screen-capture";
}
{
matches = [ { app-id = "^thunderbird$"; } ];
block-out-from = "screen-capture";
Expand Down