Compare commits

...

4 commits

Author SHA1 Message Date
caandt 7eb36b622b update 2026-03-19 19:20:31 -05:00
caandt e0f384be5d git 2026-03-19 18:24:30 -05:00
caandt 50caf8703d default browser 2026-03-19 18:24:28 -05:00
caandt 629276540b bash 2026-03-15 19:31:49 -05:00
5 changed files with 29 additions and 38 deletions

View file

@ -63,11 +63,11 @@
"utils": "utils" "utils": "utils"
}, },
"locked": { "locked": {
"lastModified": 1772974802, "lastModified": 1773926255,
"narHash": "sha256-SEe6mMTwceijwzeeQ4dauWuuEwkdqobSbDgiwqQwnxI=", "narHash": "sha256-sZn8ioXgK12ronBh97g4/MoLE5AA7hquRiVMruBeiCw=",
"owner": "wamserma", "owner": "wamserma",
"repo": "flake-programs-sqlite", "repo": "flake-programs-sqlite",
"rev": "7ac37009c7b3fa6c1a1d076f3181a695401f7d31", "rev": "344e53cb994a06b512eb286325d0f97b7480ead9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -128,11 +128,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1772985285, "lastModified": 1773952365,
"narHash": "sha256-wEEmvfqJcl9J0wyMgMrj1TixOgInBW/6tLPhWGoZE3s=", "narHash": "sha256-temgIjfdoniHw2vvUGM/BgVgIUig0quH2ClRfSnNk94=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "5be5d8245cbc7bc0c09fbb5f38f23f223c543f85", "rev": "9bc3ca1230d96119bdf61b9c3ec0c66a2b6eafdc",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -150,11 +150,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1772937574, "lastModified": 1773888274,
"narHash": "sha256-Yw1tP/ASebNYuW2GcYDTgWf2Mg9qcUYo6MTagXyeFCs=", "narHash": "sha256-PujDYvxi8Hbm/EB706mi+UWRRzoBaAVhpJREH13Gepg=",
"owner": "fufexan", "owner": "fufexan",
"repo": "nix-gaming", "repo": "nix-gaming",
"rev": "d2b0b283deb24cdbb2750e658fa7001fee5ad586", "rev": "6e734655941171e75e64511c7c643f854753f52e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -165,11 +165,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1772773019, "lastModified": 1773821835,
"narHash": "sha256-E1bxHxNKfDoQUuvriG71+f+s/NT0qWkImXsYZNFFfCs=", "narHash": "sha256-TJ3lSQtW0E2JrznGVm8hOQGVpXjJyXY2guAxku2O9A4=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "aca4d95fce4914b3892661bcb80b8087293536c6", "rev": "b40629efe5d6ec48dd1efba650c797ddbd39ace0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -220,11 +220,11 @@
"uv2nix": "uv2nix" "uv2nix": "uv2nix"
}, },
"locked": { "locked": {
"lastModified": 1772763464, "lastModified": 1773750494,
"narHash": "sha256-1IEO166bp1yLwyWE1tl6dJDzL6fniu4+OdeSJpkUwD4=", "narHash": "sha256-24rXOoLl1ozr0LhOFGIcoNege/HVpaql+JfFEJ0sCNA=",
"owner": "pwndbg", "owner": "pwndbg",
"repo": "pwndbg", "repo": "pwndbg",
"rev": "2b1c3b4f91f05aca4ed8b17d0c7a634b55d8f754", "rev": "c1a626def5a40466dc7ac372f000a9a5dbf7af48",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -302,11 +302,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1772944399, "lastModified": 1773889674,
"narHash": "sha256-xTzsSd3r5HBeufSZ3fszAn0ldfKctvsYG7tT2YJg5gY=", "narHash": "sha256-+ycaiVAk3MEshJTg35cBTUa0MizGiS+bgpYw/f8ohkg=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "c8e69670b316d6788e435a3aa0bda74eb1b82cc0", "rev": "29b6519f3e0780452bca0ac0be4584f04ac16cc5",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -13,25 +13,6 @@
}; };
}; };
virtualisation.libvirtd.enable = config.u.has.virt; virtualisation.libvirtd.enable = config.u.has.virt;
virtualisation.libvirtd.package = pkgs.libvirt.overrideAttrs (old: {
postPatch =
old.postPatch
+ (
let
script = pkgs.writeShellApplication {
name = "virt-secret-init-encryption-sh";
runtimeInputs = [
pkgs.coreutils
pkgs.systemd
];
text = ''exec ${pkgs.runtimeShell} "$@"'';
};
in ''
substituteInPlace src/secret/virt-secret-init-encryption.service.in \
--replace-fail /usr/bin/sh ${lib.getExe script}
''
);
});
programs.virt-manager.enable = config.u.has.graphical && config.u.has.virt; programs.virt-manager.enable = config.u.has.graphical && config.u.has.virt;
programs.nix-ld.enable = true; programs.nix-ld.enable = true;
hardware.graphics.enable32Bit = config.u.has.graphical && config.u.has.wine; hardware.graphics.enable32Bit = config.u.has.graphical && config.u.has.wine;

View file

@ -11,4 +11,8 @@ HISTFILESIZE=
HISTSIZE= HISTSIZE=
HISTTIMEFORMAT="[%F %T] " HISTTIMEFORMAT="[%F %T] "
HISTFILE=~/.cache/bash_history HISTFILE=~/.cache/bash_history
if [ -z "$PROMPT_COMMAND" ]; then
PROMPT_COMMAND="history -a"
else
PROMPT_COMMAND="history -a; $PROMPT_COMMAND" PROMPT_COMMAND="history -a; $PROMPT_COMMAND"
fi

View file

@ -3,3 +3,5 @@
name = caandt name = caandt
[core] [core]
sshCommand = ssh -F ~/.local/ssh/config sshCommand = ssh -F ~/.local/ssh/config
[init]
defaultBranch = main

View file

@ -32,6 +32,10 @@ lib.mkIf config.u.has.graphical {
"application/xml" = text; "application/xml" = text;
"text/html" = text; "text/html" = text;
"application/pdf" = browser;
"x-scheme-handler/http" = browser;
"x-scheme-handler/https" = browser;
"inode/directory" = "org.kde.dolphin.desktop"; "inode/directory" = "org.kde.dolphin.desktop";
}; };
xdg.portal = { xdg.portal = {