forked from Bun/nixos-config
Remove Steam Deck and Jovian again, not worth the hassle
This commit is contained in:
parent
14aad2871f
commit
853df3a0fd
8 changed files with 2 additions and 142 deletions
14
flake.nix
14
flake.nix
|
@ -15,7 +15,6 @@
|
|||
|
||||
nur.url = "github:nix-community/NUR";
|
||||
blender-bin.url = "https://flakehub.com/f/edolstra/blender-bin/1.0.9.tar.gz";
|
||||
jovian.url = "github:Jovian-Experiments/Jovian-NixOS";
|
||||
hardware.url = "github:nixos/nixos-hardware/master";
|
||||
|
||||
lanzaboote = {
|
||||
|
@ -31,28 +30,18 @@
|
|||
let
|
||||
mkNix = modules: nixpkgs.lib.nixosSystem {
|
||||
inherit modules;
|
||||
specialArgs = { inherit unstable jovian hardware lanzaboote mailserver minecraft; };
|
||||
specialArgs = { inherit unstable hardware lanzaboote mailserver minecraft; };
|
||||
};
|
||||
mkUnstable = modules: unstable.lib.nixosSystem {
|
||||
inherit modules;
|
||||
specialArgs = { inherit unstable jovian hardware lanzaboote mailserver minecraft; };
|
||||
};
|
||||
|
||||
mkHome = modules: pkgs: home-manager.lib.homeManagerConfiguration {
|
||||
inherit modules pkgs;
|
||||
extraSpecialArgs = { inherit unstable nur blender-bin; };
|
||||
};
|
||||
mkUnHome = modules: pkgs: home-unstable.lib.homeManagerConfiguration {
|
||||
inherit modules pkgs;
|
||||
extraSpecialArgs = { inherit unstable nur blender-bin; };
|
||||
};
|
||||
in {
|
||||
# nixos-rebuild switch --flake .#hostname
|
||||
nixosConfigurations = {
|
||||
# PCs and Laptops
|
||||
firefly = mkNix [ ./hosts/firefly/system ];
|
||||
shuttleworth = mkNix [ ./hosts/shuttleworth/system ];
|
||||
jupiter = mkUnstable [ ./hosts/jupiter/system ];
|
||||
lacros = mkNix [ ./hosts/lacros/system ];
|
||||
redmond = mkNix [ ./hosts/redmond/system ];
|
||||
|
||||
|
@ -65,7 +54,6 @@
|
|||
homeConfigurations = {
|
||||
"jimbo@firefly" = mkHome [ ./hosts/firefly/home ] nixpkgs.legacyPackages.x86_64-linux;
|
||||
"jimbo@shuttleworth" = mkHome [ ./hosts/shuttleworth/home ] nixpkgs.legacyPackages.aarch64-linux;
|
||||
"jimbo@jupiter" = mkUnHome [ ./hosts/jupiter/home ] unstable.legacyPackages.x86_64-linux;
|
||||
"jimbo@lacros" = mkHome [ ./hosts/lacros/home ] nixpkgs.legacyPackages.x86_64-linux;
|
||||
"jimbo@redmond" = mkHome [ ./hosts/redmond/home ] nixpkgs.legacyPackages.x86_64-linux;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue