unfree fix lkk-nix-1

This commit is contained in:
m3tam3re 2023-04-13 05:24:21 +02:00
parent 0451280165
commit a57a211b47
1 changed files with 2 additions and 25 deletions

View File

@ -9,7 +9,6 @@
inputs.nixpkgs.follows = "nixpkgs";
};
agenix.url = "github:ryantm/agenix";
#nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
deploy-rs.url = "github:serokell/deploy-rs";
hyprland.url = "github:hyprwm/Hyprland";
@ -23,22 +22,14 @@
lib = nixpkgs.lib;
allowUnfree = { nixpkgs.config.allowUnfree = true; };
system = "x86_64-linux";
# overlay-unstable = final: prev: {
# unstable = import nixpkgs-unstable {
# inherit system;
# config.allowUnfree = true;
# };
# };
in {
nixosConfigurations = {
lkk-nix-1 = lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [
allowUnfree
./hosts/lkk-nix-1
agenix.nixosModules.default
# ({ config, pkgs, ... }: {
# nixpkgs.overlays = [ overlay-unstable ];
# })
];
};
lkk-prod-1 = lib.nixosSystem {
@ -46,10 +37,7 @@
modules = [
allowUnfree
./hosts/lkk-prod-1
# agenix.nixosModules.default
# ({ config, pkgs, ... }: {
# nixpkgs.overlays = [ overlay-unstable ];
# })
agenix.nixosModules.default
];
};
lkk-prod-2 = lib.nixosSystem {
@ -58,9 +46,6 @@
allowUnfree
./hosts/lkk-prod-2
agenix.nixosModules.default
# ({ config, pkgs, ... }: {
# nixpkgs.overlays = [ overlay-unstable ];
# })
];
};
m3-nix = lib.nixosSystem {
@ -69,9 +54,6 @@
allowUnfree
./hosts/m3-nix
agenix.nixosModules.default
# ({ config, pkgs, ... }: {
# nixpkgs.overlays = [ overlay-unstable ];
# })
];
};
};
@ -81,15 +63,10 @@
pkgs = nixpkgs.legacyPackages."x86_64-linux";
extraSpecialArgs = { inherit inputs nix-colors; };
modules = [
#hyprland.homeManagerModules.default
./home/users/m3tam3re/m3-nix.nix
allowUnfree
# ({ config, pkgs, ... }: {
# nixpkgs.overlays = [ overlay-unstable ];
# })
];
};
# Company Root Servera
"m3tam3re@lkk-nix-1" = home-manager.lib.homeManagerConfiguration {
extraSpecialArgs = { # pass things to t
};