mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-21 16:25:39 +00:00
more flakiness
This commit is contained in:
parent
c8381110c5
commit
f9d106e27d
12
flake.nix
12
flake.nix
@ -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 ];
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
@ -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 {
|
||||
|
@ -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 ];
|
||||
|
@ -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;
|
||||
|
@ -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) ];
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ pkgs, ... }:
|
||||
{ pkgs, user, ... }:
|
||||
|
||||
let
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user