1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-04-03 18:14:15 +00:00
This commit is contained in:
Rae 5e 2025-03-09 15:52:20 -04:00
parent e30250fd23
commit fea9f7203e
Signed by: rae
GPG key ID: 5B1A0FAB9BAB81EE
5 changed files with 8 additions and 7 deletions

1
TODO
View file

@ -44,6 +44,7 @@
[ ] FUN IDEA 2::: Hey Whats Up what if you did the same thing but built your regular host (ioides) as an ISO so that like. hoooly shit. you could like share it to the woRLD VIA AN ISO AND SHTUFF. Fucking massive bro
[x] IMPORTANT!!!!: consolidate most system configurations since there seems to be the assumption that Everything Is Ioides (i.e. move packages.nix to ioides/)
+- [ ] Make things consolidated wherever possible, only generalize them/widen their scope once it becomes necessary (like when you turned part of base.nix into desktop.nix) (e.g. when you need to manage something identically across hosts, put it in an import file, otherwise put it in an attrset that both hosts import and configure it from there)
+- [ ] Just do thaatttt . Make som fucken modules
[x] Get PulseAudio sound controls on polybar to work
[x] Add desktop switching to windows (context menu?)

View file

@ -30,7 +30,7 @@
name = hostname;
value = lib.nixosSystem {
system = "${arch}-linux";
specialArgs = { inherit inputs; };
specialArgs = { inherit inputs; hostname = hostname; };
modules = [ ./hosts/${hostname}/configuration.nix ];
};
};

View file

@ -1,4 +1,4 @@
{ inputs, pkgs, ... }: {
{ inputs, hostname, pkgs, ... }: {
nix.settings = {
experimental-features = [ "nix-command" "flakes" ];
trusted-users = [ "root" "rae" ];
@ -15,12 +15,15 @@
overlays = import ../overlays.nix inputs;
};
networking.hostName = hostname;
users.users.rae = {
isNormalUser = true;
extraGroups = [ "wheel" "docker" "jackaudio" ];
hashedPassword = "$y$j9T$YPq.Kl8rss1JmJ5Vg6cHE/$2kdfzCkkhaO.I4u714EQnS/ZFert5byisiRVxtC.9G2";
};
programs.nix-ld.enable = true;
services.openssh = {
enable = true;
knownHosts =

View file

@ -1,5 +1,4 @@
{ inputs, config, lib, pkgs, ... }:
{
{ inputs, config, lib, pkgs, ... }: {
imports = [
inputs.nix-flatpak.nixosModules.nix-flatpak
./hardware-configuration.nix
@ -41,7 +40,6 @@
};
networking = {
hostName = "ioides";
hosts = {
"10.0.0.2" = [ "near" "near.local" ];
};
@ -101,7 +99,6 @@
enable = true;
enableSSHSupport = true;
};
nix-ld.enable = true;
steam = {
enable = true;
remotePlay.openFirewall = true;
@ -119,6 +116,7 @@
xserver = {
enable = true;
xkb.layout = "us";
#?TODO maybe put all nvidia settings into its own module (i.e. r5e.hardware.nvidia.enable) + x11 with xdg config
videoDrivers = [ "nvidia" ];
windowManager = {
cwm.enable = true;

View file

@ -59,7 +59,6 @@
iptables -t nat -A POSTROUTING -o end0 -j MASQUERADE
'';
};
hostName = "near";
interfaces = {
# br0 = {
# ipv4.addresses = [