fixed some package errors and changed services

This commit is contained in:
voidarclabs
2026-01-26 09:27:31 +00:00
parent 136cd26a83
commit 9d89378118
3 changed files with 43 additions and 35 deletions

View File

@@ -164,10 +164,10 @@
tailscale tailscale
# Thunar stuff # Thunar stuff
xfce.thunar thunar
xfce.thunar-volman thunar-volman
xfce.thunar-vcs-plugin thunar-vcs-plugin
xfce.thunar-archive-plugin thunar-archive-plugin
# Apps # Apps
pavucontrol pavucontrol
@@ -280,9 +280,4 @@
# The comment # The comment
system.stateVersion = "25.05"; # Did you read the comment? system.stateVersion = "25.05"; # Did you read the comment?
system.autoUpgrade = {
enable = true;
allowReboot = false;
};
} }

View File

@@ -32,6 +32,8 @@
networking.interfaces.enp5s0.wakeOnLan.enable = true; networking.interfaces.enp5s0.wakeOnLan.enable = true;
networking.firewall.enable = false; networking.firewall.enable = false;
systemd.services.NetworkManager-wait-online.enable = false;
services.displayManager = { services.displayManager = {
autoLogin.enable = true; autoLogin.enable = true;
autoLogin.user = "user01"; autoLogin.user = "user01";
@@ -68,5 +70,6 @@
virtualisation.docker = { virtualisation.docker = {
enable = true; enable = true;
enableOnBoot = false;
}; };
} }

View File

@@ -11,31 +11,41 @@
}; };
}; };
outputs = { self, nixpkgs, pinned-nixpkgs, ... }: outputs =
let {
# Supported systems self,
supportedSystems = [ "x86_64-linux" ]; nixpkgs,
pinned-nixpkgs,
...
}:
let
# Supported systems
supportedSystems = [ "x86_64-linux" ];
# The main package definition logic is imported as a function # The main package definition logic is imported as a function
chataigne-appimage-runner = import ./chataigne.nix; chataigne-appimage-runner = import ./chataigne.nix;
# Function to generate the package set for each system # Function to generate the package set for each system
forAllSystems = f: nixpkgs.lib.genAttrs supportedSystems (system: f system); forAllSystems = f: nixpkgs.lib.genAttrs supportedSystems (system: f system);
in in
{ {
packages = forAllSystems (system: packages = forAllSystems (
let system:
pkgs = import nixpkgs { inherit system; config.allowUnfree = true; }; let
pinnedPkgs = import pinned-nixpkgs { inherit system; }; pkgs = import nixpkgs {
in inherit system;
{ config.allowUnfree = true;
chataigne = chataigne-appimage-runner { };
inherit pkgs pinnedPkgs; pinnedPkgs = import pinned-nixpkgs { inherit system; };
}; in
{
chataigne = chataigne-appimage-runner {
inherit pkgs pinnedPkgs;
};
# Also expose the default package for convenience # Also expose the default package for convenience
default = self.packages.${system}.chataigne; default = self.packages.${system}.chataigne;
} }
); );
}; };
} }