add shell command to fix nix when it gets in a tizz; add nix-index so fish no longer throws a wobbly when you call a commaand that doesnt exist; remove shell format since bash ide can now use it; add packages for gamescope to steam

This commit is contained in:
2025-06-02 14:03:19 +01:00
parent 2c1dfb7eb8
commit 5159cf50c9
7 changed files with 55 additions and 5 deletions

View File

@@ -8,6 +8,11 @@
inputs.nixpkgs.follows = "nixpkgs";
};
nix-index-database = {
url = "github:nix-community/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-hardware.url = "github:NixOS/nixos-hardware/master?shallow=1";
disko = {
url = "github:nix-community/disko?shallow=1";
@@ -26,7 +31,7 @@
};
};
outputs = { self, nixpkgs, nixos-hardware, home-manager, system-manager, nix-system-graphics, ... }@inputs:
outputs = { self, nixpkgs, nixos-hardware, home-manager, system-manager, nix-system-graphics, nix-index-database, ... }@inputs:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
@@ -51,7 +56,10 @@
packages.${system}.homeConfigurations.deck = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = { inherit inputs; };
modules = [ ./devices/deck/home.nix ];
modules = [
nix-index-database.hmModules.nix-index
./devices/deck/home.nix
];
};
systemConfigs.deck = system-manager.lib.makeSystemConfig {
modules = [