Compare commits
2 commits
eb09158220
...
500c26f0b7
Author | SHA1 | Date | |
---|---|---|---|
|
500c26f0b7 | ||
|
8a343bdd1d |
5 changed files with 249 additions and 197 deletions
17
home-manager/flake.lock
generated
17
home-manager/flake.lock
generated
|
@ -36,6 +36,22 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"gpu-screen-recorder-ui": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1741023597,
|
||||||
|
"narHash": "sha256-09HLLCoC6L8OEjy0mvA7F6agriHQQOGXYsOisE0b4g8=",
|
||||||
|
"owner": "js6pak",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "5c405e5de49ffe89bcdc5b43813b31383eef6f1c",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "js6pak",
|
||||||
|
"ref": "5c405e5de49ffe89bcdc5b43813b31383eef6f1c",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"home-manager": {
|
"home-manager": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
@ -148,6 +164,7 @@
|
||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"gpu-screen-recorder-ui": "gpu-screen-recorder-ui",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"moonlight": "moonlight",
|
"moonlight": "moonlight",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs_2",
|
||||||
|
|
|
@ -15,6 +15,11 @@
|
||||||
url = "github:moonlight-mod/moonlight"; # Add `/develop` to the flake URL to use nightly.
|
url = "github:moonlight-mod/moonlight"; # Add `/develop` to the flake URL to use nightly.
|
||||||
inputs.nixpkgs.follows = "nixpkgs-unstable";
|
inputs.nixpkgs.follows = "nixpkgs-unstable";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gpu-screen-recorder-ui = {
|
||||||
|
url = "github:js6pak/nixpkgs?ref=5c405e5de49ffe89bcdc5b43813b31383eef6f1c";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs-unstable";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
|
@ -22,6 +27,7 @@
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
home-manager,
|
home-manager,
|
||||||
nixpkgs-unstable,
|
nixpkgs-unstable,
|
||||||
|
gpu-screen-recorder-ui,
|
||||||
...
|
...
|
||||||
}@inputs:
|
}@inputs:
|
||||||
let
|
let
|
||||||
|
@ -35,18 +41,28 @@
|
||||||
inherit system;
|
inherit system;
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gpu-screen-recorder-ui-pkgs = import gpu-screen-recorder-ui {
|
||||||
|
inherit system;
|
||||||
|
config.allowUnfree = true;
|
||||||
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
homeConfigurations."buymymojo" = home-manager.lib.homeManagerConfiguration {
|
homeConfigurations."buymymojo" = home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
|
inherit gpu-screen-recorder-ui-pkgs;
|
||||||
inherit unstable;
|
inherit unstable;
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Specify your home configuration modules here, for example,
|
# Specify your home configuration modules here, for example,
|
||||||
# the path to your home.nix.
|
# the path to your home.nix.
|
||||||
modules = [ ./home.nix ];
|
modules = [
|
||||||
|
./home.nix
|
||||||
|
./packages.nix
|
||||||
|
./services.nix
|
||||||
|
];
|
||||||
|
|
||||||
# Optionally use extraSpecialArgs
|
# Optionally use extraSpecialArgs
|
||||||
# to pass through arguments to home.nix
|
# to pass through arguments to home.nix
|
||||||
|
|
|
@ -8,17 +8,6 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
imports = [
|
|
||||||
inputs.moonlight.homeModules.default
|
|
||||||
];
|
|
||||||
|
|
||||||
nixpkgs = {
|
|
||||||
# You can add overlays here
|
|
||||||
overlays = [
|
|
||||||
inputs.moonlight.overlays.default
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
# Home Manager needs a bit of information about you and the paths it should
|
# Home Manager needs a bit of information about you and the paths it should
|
||||||
# manage.
|
# manage.
|
||||||
home.username = "buymymojo";
|
home.username = "buymymojo";
|
||||||
|
@ -33,117 +22,6 @@
|
||||||
# release notes.
|
# release notes.
|
||||||
home.stateVersion = "24.11"; # Please read the comment before changing.
|
home.stateVersion = "24.11"; # Please read the comment before changing.
|
||||||
|
|
||||||
home.file."jdks/zulujdk8".source = pkgs.zulu8;
|
|
||||||
home.file."jdks/zulujdk17".source = pkgs.zulu17;
|
|
||||||
home.file."jdks/zulujdk23".source = pkgs.zulu23;
|
|
||||||
|
|
||||||
# The home.packages option allows you to install Nix packages into your
|
|
||||||
# environment.
|
|
||||||
home.packages = with unstable; [
|
|
||||||
pkgs.nextcloud-client
|
|
||||||
pkgs.yubioath-flutter
|
|
||||||
pkgs.xpipe
|
|
||||||
pkgs.qbittorrent
|
|
||||||
pkgs.monero-gui
|
|
||||||
|
|
||||||
# pkgs.protonplus
|
|
||||||
pkgs.pcsx2
|
|
||||||
pkgs.rpcs3
|
|
||||||
unstable.ryubing
|
|
||||||
pkgs.heroic-unwrapped
|
|
||||||
pkgs.ludusavi
|
|
||||||
|
|
||||||
# === Minecraft ===
|
|
||||||
pkgs.prismlauncher
|
|
||||||
# pkgs.zulu8
|
|
||||||
# pkgs.zulu17
|
|
||||||
# pkgs.zulu23
|
|
||||||
# === Minecraft ===
|
|
||||||
|
|
||||||
# === CLI ===
|
|
||||||
pkgs.bat
|
|
||||||
pkgs.btop
|
|
||||||
pkgs.rrsync
|
|
||||||
pkgs.ripgrep
|
|
||||||
pkgs.wl-clipboard
|
|
||||||
pkgs.poop # Compare the performance of multiple commands with a colorful terminal user interface
|
|
||||||
pkgs.age
|
|
||||||
pkgs.stow
|
|
||||||
pkgs.yt-dlp
|
|
||||||
pkgs.aria2
|
|
||||||
# === CLI ===
|
|
||||||
|
|
||||||
# === Image CLI ===
|
|
||||||
unstable.oxipng
|
|
||||||
unstable.image_optim
|
|
||||||
pkgs.jpegoptim
|
|
||||||
pkgs.libjxl
|
|
||||||
pkgs.libavif
|
|
||||||
pkgs.libwebp
|
|
||||||
pkgs.imagemagick
|
|
||||||
# === Image CLI ===
|
|
||||||
|
|
||||||
# === Communication ===
|
|
||||||
pkgs.vesktop
|
|
||||||
pkgs.discord-canary
|
|
||||||
pkgs.signal-desktop
|
|
||||||
pkgs.telegram-desktop
|
|
||||||
# pkgs.thunderbird-latest-unwrapped
|
|
||||||
# === Communication ===
|
|
||||||
|
|
||||||
# === Game perf ===
|
|
||||||
pkgs.mangojuice
|
|
||||||
unstable.goverlay
|
|
||||||
# === Game perf ===
|
|
||||||
|
|
||||||
# === Dev tooling ===
|
|
||||||
# pkgs.rustup
|
|
||||||
|
|
||||||
unstable.libreoffice-fresh
|
|
||||||
# pkgs.kdePackages.kate
|
|
||||||
pkgs.jetbrains.webstorm
|
|
||||||
pkgs.jetbrains.rider
|
|
||||||
pkgs.jetbrains.idea-community
|
|
||||||
# === Dev tooling ===
|
|
||||||
|
|
||||||
# === Media ===
|
|
||||||
pkgs.gimp
|
|
||||||
pkgs.krita
|
|
||||||
pkgs.mpv
|
|
||||||
unstable.losslesscut-bin
|
|
||||||
# === Media ===
|
|
||||||
|
|
||||||
pkgs.polychromatic
|
|
||||||
|
|
||||||
pkgs.orca-slicer
|
|
||||||
|
|
||||||
pkgs.lazydocker
|
|
||||||
pkgs.distrobox
|
|
||||||
pkgs.boxbuddy
|
|
||||||
|
|
||||||
unstable.godot
|
|
||||||
unstable.blender-hip
|
|
||||||
pkgs.freecad-wayland
|
|
||||||
pkgs.unityhub
|
|
||||||
pkgs.material-maker
|
|
||||||
|
|
||||||
unstable.gpu-screen-recorder
|
|
||||||
unstable.gpu-screen-recorder-gtk
|
|
||||||
|
|
||||||
# # It is sometimes useful to fine-tune packages, for example, by applying
|
|
||||||
# # overrides. You can do that directly here, just don't forget the
|
|
||||||
# # parentheses. Maybe you want to install Nerd Fonts with a limited number of
|
|
||||||
# # fonts?
|
|
||||||
# (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
|
|
||||||
|
|
||||||
# # You can also create simple shell scripts directly inside your
|
|
||||||
# # configuration. For example, this adds a command 'my-hello' to your
|
|
||||||
# # environment:
|
|
||||||
# (pkgs.writeShellScriptBin "my-hello" ''
|
|
||||||
# echo "Hello, ${config.home.username}!"
|
|
||||||
# '')
|
|
||||||
];
|
|
||||||
|
|
||||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||||
# plain files is through 'home.file'.
|
# plain files is through 'home.file'.
|
||||||
home.file = {
|
home.file = {
|
||||||
|
@ -159,80 +37,6 @@
|
||||||
# '';
|
# '';
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.moonlight-mod = {
|
|
||||||
enable = true;
|
|
||||||
# stable = {
|
|
||||||
# extensions = {
|
|
||||||
# allActivites.enabled = true;
|
|
||||||
# alwaysFocus.enabled = true;
|
|
||||||
|
|
||||||
# betterEmbedsYT = {
|
|
||||||
# enabled = true;
|
|
||||||
# config = {
|
|
||||||
# fullDescription = false;
|
|
||||||
# expandDescription = true;
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.git = {
|
|
||||||
enable = true;
|
|
||||||
userName = "BuyMyMojo";
|
|
||||||
userEmail = "hello+git@buymymojo.net";
|
|
||||||
lfs.enable = true;
|
|
||||||
signing.key = "E7B7B8D20C8753C077F9B17119AB7AA462B8AB3B";
|
|
||||||
signing.signByDefault = true;
|
|
||||||
extraConfig = {
|
|
||||||
init = {
|
|
||||||
|
|
||||||
defaultBranch = "main";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.obs-studio = {
|
|
||||||
enable = true;
|
|
||||||
plugins = with pkgs.obs-studio-plugins; [
|
|
||||||
wlrobs
|
|
||||||
obs-vkcapture
|
|
||||||
obs-pipewire-audio-capture
|
|
||||||
obs-teleport
|
|
||||||
obs-source-record
|
|
||||||
obs-source-clone
|
|
||||||
obs-composite-blur
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.ssh.enable = true;
|
|
||||||
programs.ssh.addKeysToAgent = "yes";
|
|
||||||
|
|
||||||
programs.ssh.matchBlocks = {
|
|
||||||
"*" = {
|
|
||||||
identityFile = "/home/buymymojo/.ssh/id_ed25519-mainpc";
|
|
||||||
};
|
|
||||||
|
|
||||||
"game2.buymymojo.net" = {
|
|
||||||
hostname = "game2.buymymojo.net";
|
|
||||||
user = "jumpbox";
|
|
||||||
identityFile = "/home/buymymojo/.ssh/id_ed25519-mainpc";
|
|
||||||
};
|
|
||||||
|
|
||||||
"git.aria.coffee" = {
|
|
||||||
hostname = "git.aria.coffee";
|
|
||||||
user = "git";
|
|
||||||
identityFile = "/home/buymymojo/.ssh/id_ed25519-mainpc";
|
|
||||||
port = 23;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.bash.enable = true;
|
|
||||||
programs.fish.enable = true;
|
|
||||||
|
|
||||||
services.ssh-agent.enable = true;
|
|
||||||
services.syncthing.enable = true;
|
|
||||||
|
|
||||||
# Home Manager can also manage your environment variables through
|
# Home Manager can also manage your environment variables through
|
||||||
# 'home.sessionVariables'. These will be explicitly sourced when using a
|
# 'home.sessionVariables'. These will be explicitly sourced when using a
|
||||||
# shell provided by Home Manager. If you don't want to manage your shell
|
# shell provided by Home Manager. If you don't want to manage your shell
|
||||||
|
|
201
home-manager/packages.nix
Normal file
201
home-manager/packages.nix
Normal file
|
@ -0,0 +1,201 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
unstable,
|
||||||
|
gpu-screen-recorder-ui-pkgs,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
inputs.moonlight.homeModules.default
|
||||||
|
];
|
||||||
|
|
||||||
|
nixpkgs = {
|
||||||
|
# You can add overlays here
|
||||||
|
overlays = [
|
||||||
|
inputs.moonlight.overlays.default
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
home.file."jdks/zulujdk8".source = pkgs.zulu8;
|
||||||
|
home.file."jdks/zulujdk17".source = pkgs.zulu17;
|
||||||
|
home.file."jdks/zulujdk23".source = pkgs.zulu23;
|
||||||
|
|
||||||
|
# The home.packages option allows you to install Nix packages into your
|
||||||
|
# environment.
|
||||||
|
home.packages = with unstable; [
|
||||||
|
pkgs.nextcloud-client
|
||||||
|
pkgs.yubioath-flutter
|
||||||
|
pkgs.xpipe
|
||||||
|
pkgs.qbittorrent
|
||||||
|
pkgs.monero-gui
|
||||||
|
|
||||||
|
# pkgs.protonplus
|
||||||
|
pkgs.pcsx2
|
||||||
|
pkgs.rpcs3
|
||||||
|
unstable.ryubing
|
||||||
|
pkgs.heroic-unwrapped
|
||||||
|
pkgs.ludusavi
|
||||||
|
|
||||||
|
# === Minecraft ===
|
||||||
|
pkgs.prismlauncher
|
||||||
|
# pkgs.zulu8
|
||||||
|
# pkgs.zulu17
|
||||||
|
# pkgs.zulu23
|
||||||
|
# === Minecraft ===
|
||||||
|
|
||||||
|
# === CLI ===
|
||||||
|
pkgs.bat
|
||||||
|
pkgs.btop
|
||||||
|
pkgs.rrsync
|
||||||
|
pkgs.ripgrep
|
||||||
|
pkgs.wl-clipboard
|
||||||
|
pkgs.poop # Compare the performance of multiple commands with a colorful terminal user interface
|
||||||
|
pkgs.age
|
||||||
|
pkgs.stow
|
||||||
|
pkgs.yt-dlp
|
||||||
|
pkgs.aria2
|
||||||
|
# === CLI ===
|
||||||
|
|
||||||
|
# === Image CLI ===
|
||||||
|
unstable.oxipng
|
||||||
|
unstable.image_optim
|
||||||
|
pkgs.jpegoptim
|
||||||
|
pkgs.libjxl
|
||||||
|
pkgs.libavif
|
||||||
|
pkgs.libwebp
|
||||||
|
pkgs.imagemagick
|
||||||
|
# === Image CLI ===
|
||||||
|
|
||||||
|
# === Communication ===
|
||||||
|
pkgs.vesktop
|
||||||
|
pkgs.discord-canary
|
||||||
|
pkgs.signal-desktop
|
||||||
|
pkgs.telegram-desktop
|
||||||
|
# pkgs.thunderbird-latest-unwrapped
|
||||||
|
# === Communication ===
|
||||||
|
|
||||||
|
# === Game perf ===
|
||||||
|
pkgs.mangojuice
|
||||||
|
unstable.goverlay
|
||||||
|
# === Game perf ===
|
||||||
|
|
||||||
|
# === Dev tooling ===
|
||||||
|
# pkgs.rustup
|
||||||
|
|
||||||
|
unstable.libreoffice-fresh
|
||||||
|
# pkgs.kdePackages.kate
|
||||||
|
pkgs.jetbrains.webstorm
|
||||||
|
pkgs.jetbrains.rider
|
||||||
|
pkgs.jetbrains.idea-community
|
||||||
|
# === Dev tooling ===
|
||||||
|
|
||||||
|
# === Media ===
|
||||||
|
pkgs.gimp
|
||||||
|
pkgs.krita
|
||||||
|
pkgs.mpv
|
||||||
|
unstable.losslesscut-bin
|
||||||
|
# === Media ===
|
||||||
|
|
||||||
|
pkgs.polychromatic
|
||||||
|
|
||||||
|
pkgs.orca-slicer
|
||||||
|
|
||||||
|
pkgs.lazydocker
|
||||||
|
pkgs.distrobox
|
||||||
|
pkgs.boxbuddy
|
||||||
|
|
||||||
|
unstable.godot
|
||||||
|
unstable.blender-hip
|
||||||
|
pkgs.freecad-wayland
|
||||||
|
pkgs.unityhub
|
||||||
|
pkgs.material-maker
|
||||||
|
|
||||||
|
unstable.gpu-screen-recorder
|
||||||
|
unstable.gpu-screen-recorder-gtk
|
||||||
|
gpu-screen-recorder-ui-pkgs.gpu-screen-recorder-ui
|
||||||
|
|
||||||
|
# # You can also create simple shell scripts directly inside your
|
||||||
|
# # configuration. For example, this adds a command 'my-hello' to your
|
||||||
|
# # environment:
|
||||||
|
# (pkgs.writeShellScriptBin "my-hello" ''
|
||||||
|
# echo "Hello, ${config.home.username}!"
|
||||||
|
# '')
|
||||||
|
];
|
||||||
|
|
||||||
|
programs.moonlight-mod = {
|
||||||
|
enable = true;
|
||||||
|
# stable = {
|
||||||
|
# extensions = {
|
||||||
|
# allActivites.enabled = true;
|
||||||
|
# alwaysFocus.enabled = true;
|
||||||
|
|
||||||
|
# betterEmbedsYT = {
|
||||||
|
# enabled = true;
|
||||||
|
# config = {
|
||||||
|
# fullDescription = false;
|
||||||
|
# expandDescription = true;
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
userName = "BuyMyMojo";
|
||||||
|
userEmail = "hello+git@buymymojo.net";
|
||||||
|
lfs.enable = true;
|
||||||
|
signing.key = "E7B7B8D20C8753C077F9B17119AB7AA462B8AB3B";
|
||||||
|
signing.signByDefault = true;
|
||||||
|
extraConfig = {
|
||||||
|
init = {
|
||||||
|
|
||||||
|
defaultBranch = "main";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.obs-studio = {
|
||||||
|
enable = true;
|
||||||
|
plugins = with pkgs.obs-studio-plugins; [
|
||||||
|
wlrobs
|
||||||
|
obs-vkcapture
|
||||||
|
obs-pipewire-audio-capture
|
||||||
|
obs-teleport
|
||||||
|
obs-source-record
|
||||||
|
obs-source-clone
|
||||||
|
obs-composite-blur
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
# === ssh ===
|
||||||
|
programs.ssh.enable = true;
|
||||||
|
programs.ssh.addKeysToAgent = "yes";
|
||||||
|
programs.ssh.matchBlocks = {
|
||||||
|
"*" = {
|
||||||
|
identityFile = "/home/buymymojo/.ssh/id_ed25519-mainpc";
|
||||||
|
};
|
||||||
|
|
||||||
|
"game2.buymymojo.net" = {
|
||||||
|
hostname = "game2.buymymojo.net";
|
||||||
|
user = "jumpbox";
|
||||||
|
identityFile = "/home/buymymojo/.ssh/id_ed25519-mainpc";
|
||||||
|
};
|
||||||
|
|
||||||
|
"git.aria.coffee" = {
|
||||||
|
hostname = "git.aria.coffee";
|
||||||
|
user = "git";
|
||||||
|
identityFile = "/home/buymymojo/.ssh/id_ed25519-mainpc";
|
||||||
|
port = 23;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# === shells ===
|
||||||
|
programs.bash.enable = true;
|
||||||
|
programs.fish.enable = true;
|
||||||
|
|
||||||
|
}
|
14
home-manager/services.nix
Normal file
14
home-manager/services.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
unstable,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
services.ssh-agent.enable = true;
|
||||||
|
services.syncthing.enable = true;
|
||||||
|
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue