Fix allowUnfree shizzle
This commit is contained in:
parent
d13e58e18d
commit
4b9a204b4d
5 changed files with 28 additions and 30 deletions
42
flake.nix
42
flake.nix
|
@ -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 {
|
||||
|
|
|
@ -21,7 +21,6 @@ in
|
|||
config = mkIf cfg.enable {
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
package = pkgs.hello;
|
||||
|
||||
settings = {
|
||||
inherit (theme) colors;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -47,7 +47,6 @@ in
|
|||
};
|
||||
"greetd/environments" = {
|
||||
text = ''
|
||||
${pkgs.i3}/bin/i3
|
||||
${pkgs.sway}/bin/sway
|
||||
${hyprland}/bin/Hyprland
|
||||
${pkgs.bash}/bin/bash
|
||||
|
|
|
@ -35,7 +35,7 @@ in
|
|||
EDITOR = "${pkgs.neovim}/bin/nvim";
|
||||
};
|
||||
|
||||
# nixpkgs.config = { allowUnfree = true; };
|
||||
nixpkgs.config = { allowUnfree = true; };
|
||||
|
||||
home.stateVersion = "21.11";
|
||||
|
||||
|
|
Loading…
Reference in a new issue