Fix allowUnfree shizzle

This commit is contained in:
Erwin Boskma 2022-11-11 20:38:33 +01:00
parent d13e58e18d
commit 4b9a204b4d
Signed by: erwin
SSH key fingerprint: SHA256:CyeNoWXd3kjX2Nwu6pDxxdS7OqmPVOy0NavA/KU/ntU
5 changed files with 28 additions and 30 deletions

View file

@ -152,32 +152,34 @@
(
system:
let
pkgs = import nixpkgs {
inherit system;
overlays = [
self.overlays.default
ha-now-playing.overlays.${system}
pamedia.overlays.${system}
];
# pkgs = import nixpkgs {
# inherit system;
# overlays = [
# self.overlays.default
# ha-now-playing.overlays.${system}
# pamedia.overlays.${system}
# ];
# config = {
# allowUnsupportedSystem = true;
# allowUnfree = true;
# };
};
# };
pkgs = nixpkgs.legacyPackages.${system};
in
rec {
packages = flake-utils.lib.flattenTree {
rofi-wayland = pkgs.rofi-wayland;
nix-plugins = pkgs.nix-plugins;
backscrub = pkgs.backscrub;
bl3auto = pkgs.bl3auto;
};
{
# packages = flake-utils.lib.flattenTree {
# rofi-wayland = pkgs.rofi-wayland;
# nix-plugins = pkgs.nix-plugins;
# backscrub = pkgs.backscrub;
# bl3auto = pkgs.bl3auto;
# xmake = pkgs.xmake;
# };
apps = {
rofi-wayland = flake-utils.lib.mkApp { drv = packages.rofi-wayland; };
nix-plugins = flake-utils.lib.mkApp { drv = packages.nix-plugins; };
backscrub = flake-utils.lib.mkApp { drv = packages.backscrub; };
};
# apps = {
# rofi-wayland = flake-utils.lib.mkApp { drv = packages.rofi-wayland; };
# nix-plugins = flake-utils.lib.mkApp { drv = packages.nix-plugins; };
# backscrub = flake-utils.lib.mkApp { drv = packages.backscrub; };
# };
devShells.default = with pkgs;
mkShell {

View file

@ -21,7 +21,6 @@ in
config = mkIf cfg.enable {
programs.alacritty = {
enable = true;
package = pkgs.hello;
settings = {
inherit (theme) colors;

View file

@ -1,7 +1,5 @@
{ self, nixpkgs, nixos-hardware, hyprland, ... }:
let
pkgs = import nixpkgs { system = "x86_64-linux"; };
in
{ pkgs, config, ... }:
{
imports = [
nixos-hardware.nixosModules.common-cpu-amd

View file

@ -47,7 +47,6 @@ in
};
"greetd/environments" = {
text = ''
${pkgs.i3}/bin/i3
${pkgs.sway}/bin/sway
${hyprland}/bin/Hyprland
${pkgs.bash}/bin/bash

View file

@ -35,7 +35,7 @@ in
EDITOR = "${pkgs.neovim}/bin/nvim";
};
# nixpkgs.config = { allowUnfree = true; };
nixpkgs.config = { allowUnfree = true; };
home.stateVersion = "21.11";