Compare commits

..

2 commits

Author SHA1 Message Date
78270430db unstable intellij 2024-09-10 18:49:17 -04:00
554a906dbf better module 2024-09-10 18:49:14 -04:00
3 changed files with 45 additions and 38 deletions

View file

@ -79,7 +79,7 @@
smolboi = inputs.nixpkgs.lib.nixosSystem { smolboi = inputs.nixpkgs.lib.nixosSystem {
specialArgs = { specialArgs = {
inherit inputs; inherit inputs;
pkgs-unstable = inputs.nixunstable; pkgs-unstable = inputs.nixunstable.legacyPackages.x86_64-linux;
}; };
modules = [ modules = [
./systems/smolboi/configuration.nix ./systems/smolboi/configuration.nix
@ -94,6 +94,9 @@
inputs.nixos-hardware.nixosModules.gigabyte-b550 inputs.nixos-hardware.nixosModules.gigabyte-b550
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager
{ {
home-manager.extraSpecialArgs = {
pkgs-unstable = inputs.nixunstable.legacyPackages.x86_64-linux;
};
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.users.cdombroski = import ./systems/smolboi/home.nix; home-manager.users.cdombroski = import ./systems/smolboi/home.nix;
} }
@ -102,7 +105,7 @@
zeus = inputs.nixpkgs.lib.nixosSystem { zeus = inputs.nixpkgs.lib.nixosSystem {
specialArgs = { specialArgs = {
inherit inputs; inherit inputs;
pkgs-unstable = inputs.nixunstable; pkgs-unstable = inputs.nixunstable.legacyPackages.x86_64-linux;
}; };
modules = [ modules = [
./systems/zeus/configuration.nix ./systems/zeus/configuration.nix
@ -117,7 +120,7 @@
orangepihole = inputs.nixpkgs.lib.nixosSystem { orangepihole = inputs.nixpkgs.lib.nixosSystem {
specialArgs = { specialArgs = {
inherit inputs; inherit inputs;
pkgs-unstable = inputs.nixunstable; pkgs-unstable = inputs.nixunstable.legacyPackages.aarch64-linux;
}; };
modules = [ modules = [
./systems/orangepihole/configuration.nix ./systems/orangepihole/configuration.nix

View file

@ -21,10 +21,10 @@ in
description = '' description = ''
Serial port for the Z-Wave controller. Serial port for the Z-Wave controller.
Used for permissions only; must be additionally set in the application Used for permissions only; must be additionally set in the application
''; '';
example = "/dev/ttyUSB0"; example = "/dev/ttyUSB0";
}; };
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
assertions = [ assertions = [
@ -44,7 +44,10 @@ in
RuntimeDirectory = "zwave-js-ui"; RuntimeDirectory = "zwave-js-ui";
StateDirectory = "zwave-js-ui"; StateDirectory = "zwave-js-ui";
RootDirectory = "/run/zwave-js-ui"; RootDirectory = "/run/zwave-js-ui";
BindReadOnlyPaths = [ "/etc" "/nix/store" ]; BindReadOnlyPaths = [
"/etc"
"/nix/store"
];
BindPaths = [ "/var/lib/zwave-js-ui" ]; BindPaths = [ "/var/lib/zwave-js-ui" ];
DeviceAllow = [ cfg.serialPort ]; DeviceAllow = [ cfg.serialPort ];
DynamicUser = true; DynamicUser = true;

View file

@ -1,7 +1,8 @@
{ {
pkgs,
lib,
config, config,
lib,
pkgs,
pkgs-unstable,
... ...
}: }:
@ -22,34 +23,34 @@
# The home.packages option allows you to install Nix packages into your # The home.packages option allows you to install Nix packages into your
# environment. # environment.
home.packages = with pkgs; [ home.packages = [
element-desktop pkgs.element-desktop
discord pkgs.discord
openrgb-with-all-plugins pkgs.openrgb-with-all-plugins
keepassxc pkgs.keepassxc
heroic pkgs.heroic
r2modman pkgs.r2modman
mangohud pkgs.mangohud
hack-font pkgs.hack-font
htop pkgs.htop
jellyfin-media-player pkgs.jellyfin-media-player
konversation pkgs.konversation
nixd pkgs.nixd
yakuake pkgs.yakuake
mgba pkgs.mgba
vlc pkgs.vlc
jetbrains.idea-community pkgs-unstable.jetbrains.idea-community
dolphin-emu-primehack pkgs.dolphin-emu-primehack
steamtinkerlaunch pkgs.steamtinkerlaunch
mangohud pkgs.mangohud
lutris pkgs.lutris
knossosnet pkgs.knossosnet
lilypond pkgs.lilypond
musescore pkgs.musescore
protontricks pkgs.protontricks
protonup-qt pkgs.protonup-qt
(retroarch.override { (pkgs.retroarch.override {
cores = with libretro; [ cores = with pkgs.libretro; [
beetle-psx-hw beetle-psx-hw
pcsx2 pcsx2
mesen mesen