diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e370078 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +result/ +result diff --git a/README.md b/README.md index f1332de..0c0ee25 100644 --- a/README.md +++ b/README.md @@ -21,13 +21,13 @@ from my experience the process is more involved, but it ultimately boils down to ## raspberry PI devices -have yur lil sd card on hand (paw) and run in the root of the repository: +[raspberry-pi-nix](https://github.com/nix-community/raspberry-pi-nix) is used to build PI sd card images. have yur lil sd card on hand (paw) and run in the root of the repository: ```sh nix build './nixos#nixosConfigurations.[hostname].config.system.build.sdImage' ``` -and then Wait................... +and then Wait................... output will be in `result/` NYA!! # usage diff --git a/TODO b/TODO index cf1da87..89b1d82 100644 --- a/TODO +++ b/TODO @@ -41,6 +41,7 @@ +- [ ] Just see if you can write a yambar plugin that gives you a taskbar........... [ ] Should you be using both libretro easyrpg and standalone easyrpg at the same time like you are now ???????? [ ] FUN IDEA::: Do you see ? https://github.com/nix-community/raspberry-pi-nix/blob/master/rpi/default.nix ??? see if it might be worth trying to make an options set across your config for very non granular at a glance configurations ... (see also https://github.com/nanzhong/env/blob/master/machines/devpi/configuration.nix) +[ ] 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] Get PulseAudio sound controls on polybar to work [x] Add desktop switching to windows (context menu?) diff --git a/nixos/hosts/base.nix b/nixos/hosts/base.nix index b207951..5060f57 100644 --- a/nixos/hosts/base.nix +++ b/nixos/hosts/base.nix @@ -1,12 +1,12 @@ { inputs, pkgs, ... }: { - nix.settings = { - experimental-features = [ "nix-command" "flakes" ]; - trusted-users = [ "root" "rae" ]; - }; - nixpkgs = { - config.allowUnfree = true; - overlays = import ../overlays.nix inputs; - }; + nix.settings = { + experimental-features = [ "nix-command" "flakes" ]; + trusted-users = [ "root" "rae" ]; + }; + nixpkgs = { + config.allowUnfree = true; + overlays = import ../overlays.nix inputs; + }; users.users.rae = { isNormalUser = true; @@ -14,6 +14,25 @@ hashedPassword = "$y$j9T$YPq.Kl8rss1JmJ5Vg6cHE/$2kdfzCkkhaO.I4u714EQnS/ZFert5byisiRVxtC.9G2"; }; + services.openssh = { + enable = true; + knownHosts = + let + host = name: key: { + name = name; + value = { + hostNames = [ name ]; + publicKey = key; + }; + }; + in builtins.listToAttrs [ + (host "git.sr.ht" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMZvRd4EtM7R+IHVMWmDkVU3VLQTSwQDSAvW0t2Tkj60") + (host "github.com" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl") + (host "hackclub.app" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ3pezDUZG+4bPRZg2znAuuMp42AL+rc1HGUltnNf8cA") + (host "verygay.world" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICMql669TiEneexyQsUWfCo9ouEJwk3f21d9chpBqFge") + ]; + }; + i18n.defaultLocale = "en_US.UTF-8"; console = { font = "gr928-8x16-thin"; # https://adeverteuil.github.io/linux-console-fonts-screenshots/ diff --git a/nixos/hosts/desktop.nix b/nixos/hosts/desktop.nix index 146b348..ce37e07 100644 --- a/nixos/hosts/desktop.nix +++ b/nixos/hosts/desktop.nix @@ -84,26 +84,6 @@ # misc blueman.enable = true; flatpak.enable = true; - openssh = { - enable = true; - knownHosts = - let - host = name: key: { - name = name; - value = { - hostNames = [ name ]; - publicKey = key; - }; - }; - in { - - } // builtins.listToAttrs [ - (host "git.sr.ht" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMZvRd4EtM7R+IHVMWmDkVU3VLQTSwQDSAvW0t2Tkj60") - (host "github.com" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl") - (host "hackclub.app" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ3pezDUZG+4bPRZg2znAuuMp42AL+rc1HGUltnNf8cA") - (host "verygay.world" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICMql669TiEneexyQsUWfCo9ouEJwk3f21d9chpBqFge") - ]; - }; }; hardware = { diff --git a/nixos/hosts/near/configuration.nix b/nixos/hosts/near/configuration.nix index 679831f..c51f7d2 100644 --- a/nixos/hosts/near/configuration.nix +++ b/nixos/hosts/near/configuration.nix @@ -6,9 +6,24 @@ ../base.nix ]; - networking.hostName = "near"; + users.users.root.openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPyZFWvrboUTM/dKzz5kQHEKjNqI410VJUGiVckhjOve rae@ioides" + ]; - time.timeZone = "America/New_York"; + services.openssh = { + ports = [ 22 ]; + banner = "I won't hold it against you"; + settings = { + PasswordAuthentication = true; + }; + }; - system.stateVersion = "24.11"; + networking = { + hostName = "near"; + firewall.allowedTCPPorts = [ 22 ]; + }; + + time.timeZone = "America/New_York"; + + system.stateVersion = "24.11"; }