forked from richen604/richendots
-
Notifications
You must be signed in to change notification settings - Fork 0
Dev #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Dev #5
Changes from all commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
935a1f7
fix: :bug: explicitly set battery charge thresholds
ClementBobin 087edab
fix: :bug: mark yubikey touch detection task as complete
ClementBobin bc3a674
feat: add hyprland keybindings configuration
ClementBobin d195181
refactor: reorganize module for improved package management
ClementBobin 9b5b159
feat: add configuration for container engines support
ClementBobin 97dc106
refactor: update module paths to use hm namespace for consistency
ClementBobin dfe53e1
refactor: update module paths to use system namespace for consistency
ClementBobin 313f33f
refactor: consolidate tailscale vpn configuration
ClementBobin 844085e
feat: add joystick support for games configuration
ClementBobin bff51e9
feat: add game configuration module
ClementBobin 18d60b7
refactor: remove unused game configuration files
ClementBobin 45abaab
refactor: rename options for browser and cli tools for clarity
ClementBobin e081821
refactor: streamline keybindings configuration in hydenix
ClementBobin 7878c75
refactor: update browser to use clients instead of emulators
ClementBobin df25076
refactor: remove lutris from games clients configuration
ClementBobin 16d2220
refactor: remove unused environment variable
ClementBobin eeb3426
refactor: simplify python and remove shell.nix generation
ClementBobin e5d9749
refactor: add prisma engine binaries to session variables
ClementBobin 94ef4c5
refactor: replace keepassxc with bitwarden in desktop configuration
ClementBobin 68c56af
refactor: add discord communication module and update configuration
ClementBobin 04b0937
refactor: add pine host configuration and deployment support
ClementBobin 4116ee3
refactor: enhance dotnet configuration with extrapackages support
ClementBobin e8e59da
refactor: update obsidian path to use home directory configuration
ClementBobin 6e5f453
refactor: update ignore-file-retriever to normalize paths
ClementBobin 98b7a07
refactor: add macos configuration support in flake.nix
ClementBobin 300a128
refactor: add nix-darwin configuration to flake.lock
ClementBobin 4d83b5e
refactor: update option types to use dynamic enums for various modules
ClementBobin fa83270
refactor: enhance rust package handling to abort on unknown packages
ClementBobin 0ce6e62
refactor: change default emulator list to empty
ClementBobin e34abb7
refactor: add nexus package support to games module
ClementBobin e6aba3b
refactor: remove 'none' option from antivirus engine selection
ClementBobin 5e3e69f
refactor: :art: moved modules from fern to sys
ClementBobin cd83420
refactor: update usage message to include 'pine' option in rb command
ClementBobin e71f550
refactor: consolidate android sdk configuration in nix files
ClementBobin d0effeb
refactor: reorder game module imports in default.nix
ClementBobin 6e036d0
refactor: update discord rpc option to default to false
ClementBobin 40c027a
refactor: ensure unique packages in mail communication module
ClementBobin 0d51c32
refactor: ensure unique ide packages in jetbrains configuration
ClementBobin 11230d3
refactor: ensure unique editor packages in documentation configuration
ClementBobin 24e572e
refactor: ensure unique game packages in games module
ClementBobin 01746f9
refactor: update tunnel for cloudflare and ngrok with recursive targets
ClementBobin ddd049c
refactor: add 'nexus' to supported gaming clients in configuration
ClementBobin 25cae4b
refactor: enhance battery charge threshold configuration
ClementBobin 1db1838
refactor: streamline antivirus engine package configuration
ClementBobin d02c122
refactor: ensure unique password manager packages
ClementBobin 4c4e745
refactor: simplify ngrok configuration in tunnel setup
ClementBobin 14de2df
refactor: remove gamescope configuration from system modules
ClementBobin e56b489
refactor: restructure games configuration to include gamemode support
ClementBobin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,88 @@ | ||
| { | ||
| inputs, | ||
| vars, | ||
| ... | ||
| }: | ||
| let | ||
| pkgs = import inputs.hydenix.inputs.hydenix-nixpkgs { | ||
| inherit (inputs.hydenix.lib) system; | ||
| config = { | ||
| allowUnfree = true; | ||
| }; | ||
| overlays = [ | ||
| inputs.hydenix.lib.overlays | ||
| (final: prev: { | ||
| userPkgs = import inputs.nixpkgs { | ||
| inherit (inputs.hydenix.lib) system; | ||
| config.allowUnfree = true; | ||
| }; | ||
| }) | ||
| ]; | ||
| }; | ||
| in | ||
| { | ||
| nixpkgs.pkgs = pkgs; | ||
|
|
||
| imports = [ | ||
| inputs.hydenix.inputs.home-manager.nixosModules.home-manager | ||
| inputs.hydenix.lib.nixOsModules | ||
| ./hardware-configuration.nix | ||
| ../../modules/system/hosts/pine | ||
|
|
||
|
|
||
| # === GPU-specific configurations === | ||
|
|
||
| /* | ||
| For drivers, we are leveraging nixos-hardware | ||
| Most common drivers are below, but you can see more options here: https://github.com/NixOS/nixos-hardware | ||
| */ | ||
|
|
||
| #! EDIT THIS SECTION | ||
| # === Other common modules === | ||
| inputs.hydenix.inputs.nixos-hardware.nixosModules.common-pc | ||
| inputs.hydenix.inputs.nixos-hardware.nixosModules.common-pc-ssd | ||
| ]; | ||
|
|
||
| boot.kernelParams = [ "video=HDMI-A-1:e" ]; | ||
|
|
||
| home-manager = { | ||
| useGlobalPkgs = true; | ||
| useUserPackages = true; | ||
| extraSpecialArgs = { | ||
| inherit inputs; | ||
| }; | ||
| users."${vars.user}" = | ||
| { ... }: | ||
| { | ||
| # hm import | ||
| imports = [ | ||
| ../../modules/hm/hosts/pine | ||
| ]; | ||
|
|
||
| desktops.hydenix = { | ||
| enable = true; | ||
| hostname = "pine"; | ||
| }; | ||
| }; | ||
| }; | ||
|
|
||
| hydenix = { | ||
| enable = true; | ||
| hostname = "pine"; | ||
| timezone = "Europe/Paris"; | ||
| locale = "fr_FR.UTF-8"; | ||
| }; | ||
|
|
||
| users.users.${vars.user} = { | ||
| isNormalUser = true; | ||
| #initialPassword = "${vars.user}"; | ||
| extraGroups = [ | ||
| "wheel" | ||
| "networkmanager" | ||
| "video" | ||
| "lp" | ||
| "scanner" | ||
| ]; | ||
| shell = pkgs.zsh; | ||
| }; | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| { pkgs, lib, config, ... }: | ||
|
|
||
| let | ||
| cfg = config.modules.hm.communication.discord; | ||
|
|
||
| # Map Discord clients to their packages | ||
| clientsToPackage = with pkgs; { | ||
| discord = discord; | ||
| discordo = discordo; | ||
| discord-sh = discord-sh; | ||
| discord-ptb = discord-ptb; | ||
| discord-canary = discord-canary; | ||
| discord-development = discord-development; | ||
| cordless = cordless; | ||
| }; | ||
|
|
||
| # Map overlay names to their packages | ||
| overlaysToPackage = with pkgs; { | ||
| "discover-overlay" = discover-overlay; | ||
| overlayed = overlayed; | ||
| }; | ||
|
|
||
| # Get packages for enabled clients | ||
| clientPackages = map (client: clientsToPackage.${client}) cfg.clients; | ||
|
|
||
| # Get overlay packages | ||
| overlayPackages = map (overlay: overlaysToPackage.${overlay}) cfg.overlays; | ||
|
|
||
| # RPC package | ||
| rpcPackage = lib.optional cfg.rpc.enable pkgs.discord-rpc; | ||
|
|
||
| in | ||
| { | ||
| options.modules.hm.communication.discord = { | ||
| clients = lib.mkOption { | ||
| type = lib.types.listOf (lib.types.enum (lib.attrNames clientsToPackage)); | ||
| default = []; | ||
| description = "List of Discord clients to install"; | ||
| }; | ||
|
|
||
| overlays = lib.mkOption { | ||
| type = lib.types.listOf (lib.types.enum (lib.attrNames overlaysToPackage)); | ||
| default = []; | ||
| description = "List of Discord overlays to install"; | ||
| }; | ||
|
|
||
| rpc.enable = lib.mkOption { | ||
| type = lib.types.bool; | ||
| default = false; | ||
| description = "Whether to enable Discord Rich Presence support"; | ||
| }; | ||
| }; | ||
|
|
||
| config = lib.mkIf (cfg.clients != [] || cfg.overlays != [] || cfg.rpc.enable) { | ||
| home.packages = clientPackages ++ overlayPackages ++ rpcPackage; | ||
| }; | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.