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

View file

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

View file

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