tweak: user-parts options

This commit is contained in:
serenity-F 2026-10-01 03:29:09 +10:00
parent 7ee3592f00
commit 40327a7391
No known key found for this signature in database
6 changed files with 22 additions and 12 deletions

View file

@ -5,7 +5,12 @@
# niri window manager module declaration # niri window manager module declaration
flake.nixosModules.niri = flake.nixosModules.niri =
{ pkgs, lib, ... }: {
pkgs,
lib,
user-parts,
...
}:
{ {
@ -32,7 +37,7 @@
}; };
# niri personalisation # niri personalisation
home-manager.users.serenity = home-manager.users.${user-parts.user.username} =
{ config, ... }: { config, ... }:

View file

@ -5,7 +5,7 @@
# noctalia shell module declaration # noctalia shell module declaration
flake.nixosModules.noctalia = flake.nixosModules.noctalia =
{ pkgs, ... }: { pkgs, user-parts, ... }:
{ {
@ -29,7 +29,7 @@
}; };
# home manager options # home manager options
home-manager.users.serenity = { home-manager.users.${user-parts.user.username} = {
# for noctalia home manager functionality # for noctalia home manager functionality
imports = [ inputs.noctalia.homeModules.default ]; imports = [ inputs.noctalia.homeModules.default ];

View file

@ -5,7 +5,7 @@
# defines a custom btop module # defines a custom btop module
flake.nixosModules.btop = flake.nixosModules.btop =
{ pkgs, ... }: { pkgs, user-parts, ... }:
{ {
@ -15,7 +15,7 @@
environment.systemPackages = with pkgs; [ btop ]; environment.systemPackages = with pkgs; [ btop ];
# home manager options # home manager options
home-manager.users.serenity = { home-manager.users.${user-parts.user.username} = {
programs = { programs = {

View file

@ -5,7 +5,7 @@
# fetch module declaration # fetch module declaration
flake.nixosModules.fetch = flake.nixosModules.fetch =
{ pkgs, ... }: { pkgs, user-parts, ... }:
{ {
@ -13,7 +13,7 @@
imports = [ inputs.home-manager.nixosModules.home-manager ]; imports = [ inputs.home-manager.nixosModules.home-manager ];
# home manager options # home manager options
home-manager.users.serenity = { home-manager.users.${user-parts.user.username} = {
# stuff in those screenshots on r/unixporn # stuff in those screenshots on r/unixporn
home.packages = with pkgs; [ home.packages = with pkgs; [

View file

@ -5,7 +5,7 @@
# defines a custom fish module # defines a custom fish module
flake.nixosModules.fish = flake.nixosModules.fish =
{ pkgs, ... }: { pkgs, user-parts, ... }:
{ {
@ -22,7 +22,7 @@
programs.fish.enable = true; programs.fish.enable = true;
# home manager options # home manager options
home-manager.users.serenity = { home-manager.users.${user-parts.user.username} = {
# program settings # program settings
programs = { programs = {

View file

@ -5,7 +5,12 @@
# defines a custom helix module # defines a custom helix module
flake.nixosModules.helix = flake.nixosModules.helix =
{ lib, pkgs, ... }: {
lib,
pkgs,
user-parts,
...
}:
{ {
@ -22,7 +27,7 @@
environment.systemPackages = with pkgs; [ helix ]; environment.systemPackages = with pkgs; [ helix ];
# home manager options # home manager options
home-manager.users.serenity = { home-manager.users.${user-parts.user.username} = {
# alternate user friendly text editor # alternate user friendly text editor
programs.micro = { programs.micro = {