mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-01-18 18:03:06 +01:00
Jo
b43660c227
refactor(module): move kernel config to module refactor(module): move nix config to module refactor(module): move networking config to module refactor(module): move nix config to module refactor(module): move grub config to module
88 lines
1.8 KiB
Nix
88 lines
1.8 KiB
Nix
{
|
|
# Snowfall Lib provides a customized `lib` instance with access to your flake's library
|
|
# as well as the libraries available from your flake's inputs.
|
|
lib,
|
|
# Instance of `pkgs` with overlays and custom packages applied.
|
|
pkgs,
|
|
# All flake inputs.
|
|
inputs,
|
|
|
|
# Additional metadata, provided by Snowfall Lib.
|
|
namespace, # The flake namespace, set in flake.nix. If not set, defaults to "internal".
|
|
home, # The home architecture for this host (eg. `x86_64-linux`).
|
|
target, # The Snowfall Lib target for this home (eg. `x86_64-home`).
|
|
format, # A normalized name for the home target (eg. `home`).
|
|
virtual, # A boolean to determine whether this home is a virtual target using nixos-generators.
|
|
host, # The host name for this home.
|
|
|
|
# All other arguments come from the home home.
|
|
config,
|
|
...
|
|
}: with lib; with lib.${namespace};
|
|
let
|
|
zed-fhs = pkgs.buildFHSUserEnv {
|
|
name = "zed";
|
|
targetPkgs = pkgs:
|
|
with pkgs; [
|
|
zed-editor
|
|
];
|
|
runScript = "zed";
|
|
};
|
|
in
|
|
{
|
|
imports = [
|
|
./apps/gnome.nix
|
|
];
|
|
|
|
# Flatpak configuration.
|
|
services.flatpak = {
|
|
enable = true;
|
|
update.auto.enable = true;
|
|
uninstallUnmanaged = true;
|
|
|
|
packages = [
|
|
"com.jeffser.Alpaca"
|
|
];
|
|
};
|
|
|
|
# Declare user packages.
|
|
home.packages = with pkgs; [
|
|
### General
|
|
qflipper
|
|
wineWowPackages.waylandFull
|
|
vesktop
|
|
lunar-client
|
|
steam
|
|
g4music
|
|
blanket
|
|
bitwarden-desktop
|
|
|
|
### Development
|
|
avra
|
|
avrdude
|
|
jetbrains.phpstorm
|
|
git
|
|
nodejs_22
|
|
bun
|
|
devenv
|
|
zed-fhs
|
|
|
|
### Rust development specific
|
|
rustup
|
|
jetbrains.rust-rover
|
|
|
|
### Work
|
|
teams-for-linux
|
|
enpass
|
|
|
|
### Notes & Organisation
|
|
obsidian
|
|
|
|
### Virtual Reality
|
|
sidequest
|
|
];
|
|
|
|
#lib.puzzlevision.apps.zed-editor.enable = true;
|
|
|
|
home.stateVersion = "24.05";
|
|
}
|