feat: enabled nixseparatedebuginfod

This commit is contained in:
Patrick 2023-09-20 18:53:35 +02:00
parent 5733272f42
commit 285185b336
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
9 changed files with 83 additions and 11 deletions

View file

@ -241,6 +241,24 @@
"type": "github"
}
},
"flake-utils_3": {
"inputs": {
"systems": "systems_2"
},
"locked": {
"lastModified": 1685518550,
"narHash": "sha256-o2d0KcvaXzTrPRIo0kOLV0/QXHhDQ5DTi+OxcjO8xqY=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "a1720a10a6cfe8234c0e93907ffe81be440f4cef",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"gitignore": {
"inputs": {
"nixpkgs": [
@ -493,6 +511,41 @@
"type": "github"
}
},
"nixpkgs_3": {
"locked": {
"lastModified": 1686277352,
"narHash": "sha256-quryYLnntwZZrwJ4Vsx24hiCkwiYZAEttiOu983akGg=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "a9fa8f8450a2ae296f152a9b3d52df68d24b7cfc",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixseparatedebuginfod": {
"inputs": {
"flake-utils": "flake-utils_3",
"nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1687629384,
"narHash": "sha256-p0m0AXL2s1RhymW7BXfcR6oYfZhYDNmnSiuTQoyP/2o=",
"owner": "symphorien",
"repo": "nixseparatedebuginfod",
"rev": "08d4f56a656c38eb414aeedecd9f02cb57ffb2a8",
"type": "github"
},
"original": {
"owner": "symphorien",
"repo": "nixseparatedebuginfod",
"type": "github"
}
},
"pre-commit-hooks": {
"inputs": {
"flake-compat": "flake-compat_3",
@ -534,8 +587,9 @@
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs",
"nixpkgs-wayland": "nixpkgs-wayland",
"nixseparatedebuginfod": "nixseparatedebuginfod",
"pre-commit-hooks": "pre-commit-hooks",
"systems": "systems_2",
"systems": "systems_3",
"templates": "templates"
}
},
@ -585,6 +639,21 @@
"type": "github"
}
},
"systems_3": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"templates": {
"locked": {
"lastModified": 1685790891,

View file

@ -71,6 +71,7 @@
url = "github:nix-community/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
nixseparatedebuginfod.url = "github:symphorien/nixseparatedebuginfod";
};
outputs = {

View file

@ -8,8 +8,6 @@
../../modules/config
../../modules/dev
../../modules/impermanence
../../modules/hardware/bluetooth.nix
../../modules/hardware/intel.nix
../../modules/hardware/nintendo.nix

View file

@ -8,11 +8,8 @@
../../modules/config
../../modules/dev
../../modules/impermanence
../../modules/hardware/bluetooth.nix
../../modules/hardware/laptop.nix
#../../modules/hardware/nintendo.nix
../../modules/hardware/intel.nix
../../modules/hardware/nvidia.nix
../../modules/hardware/physical.nix

View file

@ -17,12 +17,14 @@
../secrets.nix
../meta.nix
../smb-mounts.nix
../impermanence
inputs.home-manager.nixosModules.default
inputs.impermanence.nixosModules.impermanence
inputs.agenix.nixosModules.default
inputs.agenix-rekey.nixosModules.default
inputs.disko.nixosModules.disko
inputs.nixseparatedebuginfod.nixosModules.default
];
age.identityPaths = ["/state/etc/ssh/ssh_host_ed25519_key"];
}

View file

@ -3,6 +3,7 @@
./docs.nix
];
environment.enableDebugInfo = true;
services.nixseparatedebuginfod.enable = true;
environment.shellInit = ''
gpg-connect-agent /bye
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)

View file

@ -13,9 +13,6 @@
;
settingsFormat = pkgs.formats.json {};
in {
# broken on nixpkgs currently. How fun
programs.streamdeck-ui.enable = true;
home-manager.sharedModules = [
({config, ...}: {
options.programs.streamdeck-ui = {
@ -33,7 +30,7 @@ in {
};
};
config = mkIf config.programs.streamdeck-ui.enable {
home.sessionVariables.STREAMDECK_UI_CONFIG = "${config.xdg.configHome}/streamdeck-ui/config.json";
home.packages = [pkgs.streamdeck-ui];
xdg.configFile.streamdeck-ui = {
target = "streamdeck-ui/config.json";
source = settingsFormat.generate "config.json" {
@ -47,7 +44,8 @@ in {
Description = "Start streamdeck-ui";
};
Service = {
ExecStart = "${config.programs.streamdeck-ui.package}/bin/streamdeck-ui --no-ui";
Environment = "STREAMDECK_UI_CONFIG=${config.xdg.configHome}/streamdeck-ui/config.json";
ExecStart = "${config.programs.streamdeck-ui.package}/bin/streamdeck --no-ui";
};
Install = {
WantedBy = ["default.target"];

View file

@ -0,0 +1,5 @@
{pkgs, ...}: {
home.packages = [pkgs.thunderbird];
home.persistence."/state".directories = [".thunderbird"];
}

View file

@ -47,6 +47,7 @@
../common/programs/streamdeck.nix
../common/programs/firefox.nix
../common/programs/kitty.nix
../common/programs/thunderbird.nix
];
};
}