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" "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": { "gitignore": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -493,6 +511,41 @@
"type": "github" "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": { "pre-commit-hooks": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_3", "flake-compat": "flake-compat_3",
@ -534,8 +587,9 @@
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nixpkgs-wayland": "nixpkgs-wayland", "nixpkgs-wayland": "nixpkgs-wayland",
"nixseparatedebuginfod": "nixseparatedebuginfod",
"pre-commit-hooks": "pre-commit-hooks", "pre-commit-hooks": "pre-commit-hooks",
"systems": "systems_2", "systems": "systems_3",
"templates": "templates" "templates": "templates"
} }
}, },
@ -585,6 +639,21 @@
"type": "github" "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": { "templates": {
"locked": { "locked": {
"lastModified": 1685790891, "lastModified": 1685790891,

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -13,9 +13,6 @@
; ;
settingsFormat = pkgs.formats.json {}; settingsFormat = pkgs.formats.json {};
in { in {
# broken on nixpkgs currently. How fun
programs.streamdeck-ui.enable = true;
home-manager.sharedModules = [ home-manager.sharedModules = [
({config, ...}: { ({config, ...}: {
options.programs.streamdeck-ui = { options.programs.streamdeck-ui = {
@ -33,7 +30,7 @@ in {
}; };
}; };
config = mkIf config.programs.streamdeck-ui.enable { 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 = { xdg.configFile.streamdeck-ui = {
target = "streamdeck-ui/config.json"; target = "streamdeck-ui/config.json";
source = settingsFormat.generate "config.json" { source = settingsFormat.generate "config.json" {
@ -47,7 +44,8 @@ in {
Description = "Start streamdeck-ui"; Description = "Start streamdeck-ui";
}; };
Service = { 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 = { Install = {
WantedBy = ["default.target"]; 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/streamdeck.nix
../common/programs/firefox.nix ../common/programs/firefox.nix
../common/programs/kitty.nix ../common/programs/kitty.nix
../common/programs/thunderbird.nix
]; ];
}; };
} }