mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-21 21:05:38 +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;
|
config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Pull the library functions
|
user = "noah";
|
||||||
lib = nixpkgs.lib;
|
|
||||||
in {
|
in {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
noah = lib.nixosSystem {
|
desktop = nixpkgs.lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
modules = [
|
modules = [
|
||||||
./nixos/configuration.nix
|
./nixos/configuration.nix
|
||||||
@ -33,10 +32,15 @@
|
|||||||
{
|
{
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = 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 {
|
in {
|
||||||
|
|
||||||
options.modules.gaming.leagueoflegends = {
|
options.modules.gaming.leagueoflegends = {
|
||||||
enable = mkEnableOption "leagueoflegends";
|
enable = mkEnableOption "League of Legends";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
@ -5,7 +5,7 @@ let cfg = config.modules.gaming.lutris;
|
|||||||
|
|
||||||
in {
|
in {
|
||||||
|
|
||||||
options.modules.gaming.lutris = { enable = mkEnableOption "lutris"; };
|
options.modules.gaming.lutris = { enable = mkEnableOption "Lutris"; };
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
environment.systemPackages = with pkgs; [ lutris amdvlk wine ];
|
environment.systemPackages = with pkgs; [ lutris amdvlk wine ];
|
||||||
|
@ -5,7 +5,7 @@ let cfg = config.modules.gaming.steam;
|
|||||||
|
|
||||||
in {
|
in {
|
||||||
|
|
||||||
options.modules.gaming.steam = { enable = mkEnableOption "steam"; };
|
options.modules.gaming.steam = { enable = mkEnableOption "Steam"; };
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
hardware.steam-hardware.enable = true;
|
hardware.steam-hardware.enable = true;
|
||||||
|
@ -1,10 +1,13 @@
|
|||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
{
|
let gui = config.gui;
|
||||||
|
|
||||||
|
in {
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
services.keybase.enable = true;
|
services.keybase.enable = true;
|
||||||
services.kbfs.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
|
let
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user