Merge branch 'main' of github.com:ooks-io/nix
This commit is contained in:
commit
1688264d04
21 changed files with 317 additions and 184 deletions
|
|
@ -4,6 +4,7 @@
|
|||
./nixIndex
|
||||
./git
|
||||
./tools
|
||||
./ssh
|
||||
];
|
||||
|
||||
options.homeModules.console.utility = {
|
||||
|
|
@ -13,6 +14,9 @@
|
|||
git = {
|
||||
enable = lib.mkEnableOption "Enable git + tools";
|
||||
};
|
||||
ssh = {
|
||||
enable = lib.mkEnableOption "Enable various console ssh";
|
||||
};
|
||||
tools = {
|
||||
enable = lib.mkEnableOption "Enable various console tools";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
home.packages = with pkgs; [
|
||||
git-credential-1password
|
||||
lazygit
|
||||
];
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
20
home/modules/console/utility/ssh/default.nix
Normal file
20
home/modules/console/utility/ssh/default.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ lib, config, ... }:
|
||||
|
||||
let
|
||||
cfg = config.homeModules.console.utility.ssh;
|
||||
in
|
||||
|
||||
{
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
extraConfig = /* config */''
|
||||
Host *
|
||||
IdentitiesOnly=yes
|
||||
IdentityAgent "~/.1password/agent.sock"
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
@ -1 +1,15 @@
|
|||
{ lib, ... }:
|
||||
|
||||
{
|
||||
|
||||
imports = [
|
||||
./slippi
|
||||
];
|
||||
|
||||
options.homeModules.desktop.gaming = {
|
||||
slippi = {
|
||||
enable = lib.mkEnableOption "Enable Slippi home module";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
18
home/modules/desktop/gaming/slippi/default.nix
Normal file
18
home/modules/desktop/gaming/slippi/default.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ inputs, config, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.homeModules.desktop.gaming.slippi;
|
||||
in
|
||||
|
||||
{
|
||||
|
||||
imports = [
|
||||
inputs.ssbm-nix.homeManagerModule
|
||||
];
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
ssbm = {
|
||||
slippi-launcher.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -26,6 +26,9 @@ in
|
|||
hyprland = {
|
||||
enable = lib.mkEnableOption "Enable the hyprland profile";
|
||||
};
|
||||
gaming = {
|
||||
enable = lib.mkEnableOption "Enable the gaming profile";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,18 @@
|
|||
{ config, lib, ... }:
|
||||
let
|
||||
cfg = config.profiles.gaming;
|
||||
in
|
||||
{
|
||||
|
||||
imports = [
|
||||
../../modules
|
||||
];
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
homeModules.desktop = {
|
||||
gaming = {
|
||||
slippi.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
../../../profile
|
||||
];
|
||||
|
||||
activeProfiles = ["base" "hyprland"];
|
||||
activeProfiles = ["base" "hyprland" ];
|
||||
|
||||
home.sessionVariables.HN = "ooksdesk";
|
||||
|
||||
|
|
|
|||
23
home/user/ooks/ooksmicro/default.nix
Normal file
23
home/user/ooks/ooksmicro/default.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ inputs, outputs, config, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../../../profile
|
||||
];
|
||||
|
||||
activeProfiles = ["base" "hyprland"];
|
||||
|
||||
home.sessionVariables.HN = "ooksmicro";
|
||||
|
||||
monitors = [{
|
||||
name = "DSI-1";
|
||||
width = 720;
|
||||
height = 1280;
|
||||
workspace = "1";
|
||||
primary = true;
|
||||
transform = 3;
|
||||
}];
|
||||
|
||||
colorscheme = inputs.nix-colors.colorSchemes.gruvbox-material-dark-soft;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue