update oren to use kde plasma

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-12-07 18:59:13 -06:00
parent 770d3fb859
commit 671cd3a00b
3 changed files with 135 additions and 557 deletions

View file

@ -3,6 +3,8 @@
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
home-manager.url = "github:rycee/home-manager/release-25.11";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
# Use relative to get current version for testin
# common.url = "path:../../flakes/common";
common.url = "git+https://git.joshuabell.xyz/ringofstorms/dotfiles?dir=flakes/common";
@ -11,9 +13,11 @@
# flatpaks.url = "path:../../flakes/flatpaks";
flatpaks.url = "git+https://git.joshuabell.xyz/ringofstorms/dotfiles?dir=flakes/flatpaks";
# hyprland.url = "path:../../flakes/hyprland";
hyprland.url = "git+https://git.joshuabell.xyz/ringofstorms/dotfiles?dir=flakes/hyprland";
# hyprland.url = "git+https://git.joshuabell.xyz/ringofstorms/dotfiles?dir=flakes/hyprland";
# beszel.url = "path:../../flakes/beszel";
beszel.url = "git+https://git.joshuabell.xyz/ringofstorms/dotfiles?dir=flakes/beszel";
# de_plasma.url = "path:../../flakes/de_plasma";
de_plasma.url = "git+https://git.joshuabell.xyz/ringofstorms/dotfiles?dir=flakes/de_plasma";
ros_neovim.url = "git+https://git.joshuabell.xyz/ringofstorms/nvim";
};
@ -25,11 +29,11 @@
common,
secrets,
flatpaks,
hyprland,
beszel,
ros_neovim,
nixpkgs-unstable,
...
}:
}@inputs:
let
configuration_name = "oren";
stateVersion = "25.05";
@ -42,19 +46,37 @@
"${configuration_name}" = (
lib.nixosSystem {
modules = [
({
nixpkgs.overlays = [
(final: prev: {
unstable = import nixpkgs-unstable {
inherit (final) system config;
};
})
];
})
home-manager.nixosModules.default
inputs.de_plasma.nixosModules.default
({
ringofstorms.dePlasma = {
enable = true;
gpu.amd.enable = true;
# TODO once encrypted boot?
# sddm.autologinUser = "josh";
};
})
secrets.nixosModules.default
ros_neovim.nixosModules.default
(
{ ... }:
{
ringofstorms-nvim.includeAllRuntimeDependencies = true;
}
)
flatpaks.nixosModules.default
hyprland.nixosModules.default
# hyprland.nixosModules.default
common.nixosModules.essentials
common.nixosModules.git
@ -70,9 +92,7 @@
common.nixosModules.zsh
beszel.nixosModules.agent
(
{ ... }:
{
({
beszelAgent = {
listen = "${overlayIp}:45876";
token = "f8a54c41-486b-487a-a78d-a087385c317b";
@ -83,7 +103,7 @@
./configuration.nix
./hardware-configuration.nix
# ./sway_customizations.nix
./hyprland_customizations.nix
# ./hyprland_customizations.nix
(
{ config, pkgs, ... }:
rec {
@ -102,7 +122,7 @@
common.homeManagerModules.tmux
common.homeManagerModules.atuin
common.homeManagerModules.direnv
common.homeManagerModules.foot
common.homeManagerModules.kitty
common.homeManagerModules.git
common.homeManagerModules.postgres_cli_options
common.homeManagerModules.ssh
@ -144,6 +164,8 @@
nodejs_24
ttyd
appimage-run
unstable.opencode
];
services.flatpak.packages = [
@ -168,26 +190,6 @@
];
};
};
programs = {
nix-ld = {
enable = true;
libraries = with pkgs; [
icu
gmp
glibc
openssl
stdenv.cc.cc
];
};
};
environment.shellAliases = {
"oc" =
"all_proxy='' http_proxy='' https_proxy='' /home/josh/other/opencode/node_modules/opencode-linux-x64/bin/opencode";
"occ" = "oc -c";
"ollamal" = "ollama list | tail -n +2 | awk '{print $1}' | fzf --ansi --preview 'ollama show {}'";
};
}
)
];