more flakiness

This commit is contained in:
Noah Masur 2022-04-27 09:23:26 -04:00
parent c8381110c5
commit f9d106e27d
7 changed files with 18 additions and 11 deletions

2
.envrc
View File

@ -1 +1 @@
use nix
use flake

View File

@ -21,11 +21,10 @@
config.allowUnfree = true;
};
# Pull the library functions
lib = nixpkgs.lib;
user = "noah";
in {
nixosConfigurations = {
noah = lib.nixosSystem {
desktop = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
./nixos/configuration.nix
@ -33,10 +32,15 @@
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.noah = { imports = [ ./nixos/home.nix ]; };
home-manager.users.${user} = { imports = [ ./nixos/home.nix ]; };
}
];
};
};
devShells.x86_64-linux.default = pkgs.mkShell {
buildInputs = with pkgs; [ stylua nixfmt shfmt shellcheck ];
};
};
}

View File

@ -6,7 +6,7 @@ let cfg = config.modules.gaming.leagueoflegends;
in {
options.modules.gaming.leagueoflegends = {
enable = mkEnableOption "leagueoflegends";
enable = mkEnableOption "League of Legends";
};
config = mkIf cfg.enable {

View File

@ -5,7 +5,7 @@ let cfg = config.modules.gaming.lutris;
in {
options.modules.gaming.lutris = { enable = mkEnableOption "lutris"; };
options.modules.gaming.lutris = { enable = mkEnableOption "Lutris"; };
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [ lutris amdvlk wine ];

View File

@ -5,7 +5,7 @@ let cfg = config.modules.gaming.steam;
in {
options.modules.gaming.steam = { enable = mkEnableOption "steam"; };
options.modules.gaming.steam = { enable = mkEnableOption "Steam"; };
config = mkIf cfg.enable {
hardware.steam-hardware.enable = true;

View File

@ -1,10 +1,13 @@
{ config, pkgs, lib, ... }:
{
let gui = config.gui;
in {
config = {
services.keybase.enable = true;
services.kbfs.enable = true;
# home.packages = with pkgs lib; [ (mkIf config.gui keybase-gui) ];
# home.packages = with lib; with pkgs; [ (mkIf gui.enable keybase-gui) ];
};
}

View File

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, user, ... }:
let