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, ...}: {
flake.nixosModules.nvim = moduleWithSystem ({self', ...}: {
programs.nvim = {
programs.neovim = {
enable = true;
package = self'.packages.nvim;
};

View File

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

View File

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

View File

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

View File

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

View File

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