Compare commits

...

5 Commits

Author SHA1 Message Date
b0f1bc9ee0 added unfree pkgs module arg and fixed steam 2026-07-10 17:34:43 +01:00
9dab291884 added all the things to hackstation 2026-07-10 17:14:33 +01:00
5c9c915457 i cant spell package apparently 2026-07-10 17:14:21 +01:00
839e1fd5f5 fixed weird pre-defined module behaviour 2026-07-10 17:14:07 +01:00
7aa01ae0dd fixed nvim module 2026-07-10 17:13:55 +01:00
6 changed files with 22 additions and 24 deletions

View File

@@ -1,6 +1,6 @@
{moduleWithSystem, ...}: { {moduleWithSystem, ...}: {
flake.nixosModules.nvim = moduleWithSystem ({self', ...}: { flake.nixosModules.nvim = moduleWithSystem ({self', ...}: {
programs.nvim = { programs.neovim = {
enable = true; enable = true;
package = self'.packages.nvim; package = self'.packages.nvim;
}; };

View File

@@ -7,12 +7,7 @@
pkgs, pkgs,
lib, lib,
... ...
}: let }: {
modules = with self.nixosModules; [
sddm
];
in {
imports = modules;
services.displayManager = { services.displayManager = {
autoLogin.enable = true; autoLogin.enable = true;
autoLogin.user = "user01"; autoLogin.user = "user01";

View File

@@ -1,10 +1,9 @@
{ {moduleWithSystem, ...}: {
moduleWithSystem,
...
}: {
flake.nixosModules.steam = moduleWithSystem ({ flake.nixosModules.steam = moduleWithSystem ({
pkgs, pkgs,
unfreePkgs,
inputs', inputs',
lib,
... ...
}: { }: {
# If buying isn't owning than piracy isn't stealing # If buying isn't owning than piracy isn't stealing
@@ -17,7 +16,7 @@
extraCompatPackages = with pkgs; [ extraCompatPackages = with pkgs; [
proton-ge-bin proton-ge-bin
]; ];
package = pkgs.steam.override { package = unfreePkgs.steam.override {
extraEnv = { extraEnv = {
LD_AUDIT = "${ LD_AUDIT = "${
inputs'.sls-steam.packages.sls-steam inputs'.sls-steam.packages.sls-steam

View File

@@ -6,7 +6,7 @@
flake.nixosModules.wshowkeys = moduleWithSystem ({inputs', ...}: { flake.nixosModules.wshowkeys = moduleWithSystem ({inputs', ...}: {
programs.wshowkeys = { programs.wshowkeys = {
enable = true; enable = true;
pacakge = inputs'.wshowkeys.packages.default; package = inputs'.wshowkeys.packages.default;
}; };
}); });
perSystem = { perSystem = {

View File

@@ -6,7 +6,13 @@
flake.nixosConfigurations.HACKSTATION = inputs.nixpkgs.lib.nixosSystem { flake.nixosConfigurations.HACKSTATION = inputs.nixpkgs.lib.nixosSystem {
modules = with self.nixosModules; [ modules = with self.nixosModules; [
desktop desktop
youtube
development
hackstationConfiguration hackstationConfiguration
bottles
gaming
davinci
sddm-autologin
]; ];
}; };
} }

View File

@@ -1,13 +1,11 @@
{ {inputs, ...}: {
self, perSystem = {system, ...}: {
inputs, _module.args.unfreePkgs = import inputs.nixpkgs {
... inherit system;
}: { config.allowUnfree = true;
flake.nixosModules.nix = { };
pkgs, };
lib, flake.nixosModules.nix = {...}: {
...
}: {
nix = { nix = {
registry = { registry = {
voidarc = { voidarc = {