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