working lio config I think with new system

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-10-21 23:31:59 -05:00
parent 50825c9b84
commit 9de4c7892b
20 changed files with 625 additions and 677 deletions

View file

@ -1,7 +1,3 @@
let
utils = import ./utils.nix;
in
with utils;
{
description = "Common NixOS configuration modules and Home Manager modules that require not other inputs beyond nixpkgs or home-manager itself. This is made by me for me and not designed to be general purpose for anyone else, but could be useful nontheless.";
inputs = { };
@ -9,6 +5,10 @@ with utils;
{
...
}:
let
utils = import ./utils.nix;
in
with utils;
{
nixosModules = importAll ./nix_modules;
homeManagerModules = importAll ./hm_modules;

View file

@ -103,7 +103,7 @@
# Keybindings mirroring Hyprland
keybindings = {
# Apps
"${modifier}+return" = "exec ${config.wayland.winfowManager.sway.config.terminal}";
"${modifier}+return" = "exec ${config.wayland.windowManager.sway.config.terminal}";
"${modifier}+space" = "exec pkill wofi || wofi --show drun";
"${modifier}+q" = "kill";
"${modifier}+shift+Escape" = "exit";

View file

@ -6,11 +6,6 @@
}:
{
# Enable for all users via Home Manager fragments in this module
home-manager = {
sharedModules = [ ./home_manager ];
};
services.greetd = {
enable = true;
vt = 2;

View file

@ -8,7 +8,7 @@
enable = true;
autoPrune.enable = true;
};
users.extraGroups.docker.members = builtins.AttrNames config.users.users;
users.extraGroups.docker.members = builtins.attrNames config.users.users;
environment.shellAliases = {
dockerv = "docker volume";
dockeri = "docker image";

View file

View file

@ -52,6 +52,7 @@
enable = true;
settings = {
LogLevel = "VERBOSE";
# TODO revisit allowing root login
PermitRootLogin = "yes";
PasswordAuthentication = false;
};

View file

@ -7,5 +7,5 @@
enable = true;
autoPrune.enable = true;
};
users.extraGroups.docker.members = builtins.AttrNames config.users.users;
users.extraGroups.docker.members = builtins.attrNames config.users.users;
}

View file

@ -1,7 +1,10 @@
required settings?
- nixpkgs and home manager flake inputs
```nix
# Required system information
system.stateVersion = "ORIGINAL VALUE"
networking.hostName = "system_name";
# Where this config lives for this machine
@ -14,14 +17,32 @@ users.users = {
josh = {
isNormalUser = true;
initialPassword = "password1";
extraGroups = [ "wheel" ];
extraGroups = [ "wheel" "networkmanager" "video" "input" ];
openssh.authorizedKeys.keys = [ "replace" ];
};
};
# Home manager only below this line (optional)
security.polkit.enable = true;
home-manager = {
useUserPackages = true;
useGlobalPkgs = true;
backupFileExtension = "bak";
sharedModules = [
({}: {
home.stateVersion = "MATCH_HM_VERSION_AS_INPUT";
programs.home-manager.enable = true;
})
];
};
```
# TODO add somewhere
```nix
# allow mounting ntfs filesystems
boot.supportedFilesystems = [ "ntfs" ];
@ -53,4 +74,9 @@ services.tailscale.extraUpFlags = ++ (lib.optionals cfg.enableExitNode [ "--adve
- rust dev (now using direnv local flakes for that)
- incus
- virt-manager
-
- hm not ported
- obs
- opensnitch
- homemanager `services.opensnitch-ui.enable = true;`
- hyprland config
- i3 isntead of sway?