tidying and such

This commit is contained in:
serenity-F 2026-08-31 00:00:28 +10:00
parent 84f4170e02
commit 7ca14b5a6e
No known key found for this signature in database
13 changed files with 84 additions and 20 deletions

View file

@ -0,0 +1,16 @@
{ inputs, ... }: {
# module declaration
flake.nixosModules.myFirstModule = { pkgs, ... }: {
# options declarations
programs.firefox.enable = true;
# packages to include
environment.systemPackages = with pkgs; [
helix
];
};
}

View file

@ -1,13 +0,0 @@
{ self, inputs, ... }: {
perSystem = { pkgs, ... }: {
packages.myKitty = inputs.wrapper-modules.wrappers.kitty.wrap {
settings = {
foo = bar;
};
};
};
}

View file

@ -71,8 +71,5 @@
openrgb-with-all-plugins
];
# dont touch this
system.stateVersion = "24.11";
};
}

View file

@ -1,22 +1,38 @@
{ self, inputs, config, ... }: {
{
self,
inputs,
config,
...
}:
{
# defines the hades specific config modules
flake.nixosConfigurations.hades = inputs.nixpkgs.lib.nixosSystem {
# modules that comprise the host specific module
modules = [
self.nixosModules.hadesHardware
self.nixosModules.hadesConfig
# core system modules
self.nixosModules.coreConfig
# hades system modules
self.nixosModules.hadesHardware
self.nixosModules.hadesConfig
# home manager and home manager imports
inputs.home-manager.nixosModules.home-manager
{
home-manager.backupFileExtension = "bak";
home-manager.users.serenity = {
imports = [
config.flake.homeModules.base
config.flake.homeModules.baseHome
config.flake.homeModules.hadesHome
];
};
}
];
};
}

View file

@ -0,0 +1,16 @@
{ inputs, ... }: {
# module declaration
flake.nixosModules.myFirstModule = { pkgs, ... }: {
# options declarations
programs.firefox.enable = true;
# packages to include
environment.systemPackages = with pkgs; [
helix
];
};
}

View file

@ -0,0 +1,16 @@
{ inputs, ... }: {
# module declaration
flake.nixosModules.myFirstModule = { pkgs, ... }: {
# options declarations
programs.firefox.enable = true;
# packages to include
environment.systemPackages = with pkgs; [
helix
];
};
}

View file

@ -0,0 +1,16 @@
{ inputs, ... }: {
# module declaration
flake.nixosModules.myFirstModule = { pkgs, ... }: {
# options declarations
programs.firefox.enable = true;
# packages to include
environment.systemPackages = with pkgs; [
helix
];
};
}