1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 03:27:45 +00:00

treewide: update flake lock

This commit is contained in:
RGBCube 2025-06-07 17:59:34 +03:00
parent eec914e613
commit 0eb7eb7475
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
5 changed files with 98 additions and 61 deletions

View file

@ -1,5 +1,5 @@
{ config, lib, pkgs, ... }: let
inherit (lib) attrNames attrValues head mkAliasOptionModule mkIf;
inherit (lib) attrNames attrValues filterAttrs hasPrefix head mkAliasOptionModule mkIf;
in {
imports = [(mkAliasOptionModule [ "secrets" ] [ "age" "secrets" ])];
@ -7,7 +7,7 @@ in {
(if config.isLinux then
"/root/.ssh/id"
else
"/Users/${head <| attrNames <| config.users.users}/.ssh/id")
"/Users/${head <| attrNames <| filterAttrs (_: value: value.home != null && hasPrefix "/Users/" value.home) config.users.users}/.ssh/id")
];
environment = mkIf config.isDesktop {

View file

@ -70,8 +70,8 @@ in {
ui.default-command = "ls";
ui.diff-editor = ":builtin";
ui.diff.tool = [ "difft" "--color" "always" "$left" "$right" ];
ui.diff-editor = ":builtin";
ui.diff-formatter = [ "difft" "--color" "always" "$left" "$right" ];
ui.conflict-marker-style = "snapshot";
ui.graph.style = if config.theme.cornerRadius > 0 then "curved" else "square";
@ -90,7 +90,6 @@ in {
git.auto-local-bookmark = true;
git.push-bookmark-prefix = "change-rgbcube-";
git.subprocess = true;
git.fetch = [ "origin" "upstream" "rad" ];
git.push = "origin";

View file

@ -0,0 +1,5 @@
{ config, lib, ... }: let
inherit (lib) attrNames filterAttrs hasPrefix head;
in {
system.primaryUser = head <| attrNames <| filterAttrs (_: value: value.home != null && hasPrefix "/Users/" value.home) config.users.users;
}

View file

@ -1,12 +1,5 @@
{ config, pkgs, lib, ... }: let
inherit (lib) attrValues merge mkIf;
inherit (lib) enabled merge mkIf;
in merge <| mkIf config.isDesktop {
# Steam uses 32-bit drivers for some unholy fucking reason.
hardware.graphics.enable32Bit = true;
environment.systemPackages = attrValues {
inherit (pkgs)
steam
;
};
programs.steam = enabled;
}