Skip to content

Commit

Permalink
fix wezterm cache
Browse files Browse the repository at this point in the history
  • Loading branch information
KSPAtlas committed Feb 18, 2025
1 parent b7ddc67 commit 9994b4c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 12 deletions.
11 changes: 9 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,14 @@
modules = [
{
nix.settings = {
substituters = [ "https://cosmic.cachix.org/" ];
trusted-public-keys = [ "cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE=" ];
substituters = [
"https://cosmic.cachix.org/"
"https://wezterm.cachix.org"
];
trusted-public-keys = [
"cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="
"wezterm.cachix.org-1:kAbhjYUC9qvblTE+s7S+kl5XM1zVa4skO+E/1IDWdH0="
];
};
}
./nixos/hardware-configuration.nix
Expand All @@ -49,6 +55,7 @@
./nixos/programming.nix
./nixos/printer.nix
./nixos/miscpkgs.nix
./nixos/gpupassthrough.nix
inputs.chaotic.nixosModules.default
inputs.stylix.nixosModules.stylix
inputs.nixos-cosmic.nixosModules.default
Expand Down
18 changes: 8 additions & 10 deletions nixos/nix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,14 @@
};

# Cachix for wezterm
nix.settings = {
substituters = [
"https://wezterm.cachix.org"
"https://cosmic.cachix.org/"
];
trusted-public-keys = [
"wezterm.cachix.org-1:kAbhjYUC9qvblTE+s7S+kl5XM1zVa4skO+E/1IDWdH0="
"cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="
];
};
# nix.settings = {
# substituters = [
# "https://cosmic.cachix.org/"
# ];
# trusted-public-keys = [
# "cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="
# ];
# };

programs.nix-ld.enable = true;

Expand Down
1 change: 1 addition & 0 deletions scripts/qemu-gpupassthrough.nu
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
let passthrough_guests = [ 'bazzite' ]
let display_manager = 'greetd'
let pci_devices = [
'pci_0000_00_01_0' # PCI root port
'pci_0000_01_00_0' # GPU
'pci_0000_01_00_1' # HDMI audio
]
Expand Down

0 comments on commit 9994b4c

Please sign in to comment.