mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-05-03 20:23:08 +00:00
~
This commit is contained in:
parent
7cdc89ddeb
commit
f80f844343
4 changed files with 20 additions and 18 deletions
10
README.md
10
README.md
|
@ -19,6 +19,16 @@ nixos-install --flake './nixos#[hostname]'
|
||||||
|
|
||||||
from my experience the process is more involved, but it ultimately boils down to those three commands above (the first command is only for bootstrapping). youll need to make a configuration for your host which involves creating default configurations with `nixos-generate-config`, copying it to your host's folder in `nixos/hosts/[host]/`, editing it, and then adding it to `flake.nix`. after that you should clone the repo inside of `/home/rae/` on your filesystem
|
from my experience the process is more involved, but it ultimately boils down to those three commands above (the first command is only for bootstrapping). youll need to make a configuration for your host which involves creating default configurations with `nixos-generate-config`, copying it to your host's folder in `nixos/hosts/[host]/`, editing it, and then adding it to `flake.nix`. after that you should clone the repo inside of `/home/rae/` on your filesystem
|
||||||
|
|
||||||
|
## raspberry PI devices
|
||||||
|
|
||||||
|
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...................
|
||||||
|
|
||||||
# usage
|
# usage
|
||||||
|
|
||||||
the system should boot into openbox and from there you'll have your statusbar and a lot of keybinds to learn x3
|
the system should boot into openbox and from there you'll have your statusbar and a lot of keybinds to learn x3
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
in builtins.listToAttrs [
|
in builtins.listToAttrs [
|
||||||
(mkSystem "ioides" "x86_64") # main pc
|
(mkSystem "ioides" "x86_64") # main pc
|
||||||
(mkSystem "qemu" "x86_64") # emulatr...........
|
(mkSystem "qemu" "x86_64") # emulatr...........
|
||||||
(mkSystem "near" "aarch_64") # raspberry pi 5 home server
|
(mkSystem "near" "aarch64") # raspberry pi 5 home server
|
||||||
];
|
];
|
||||||
|
|
||||||
homeConfigurations.rae = home-manager.lib.homeManagerConfiguration {
|
homeConfigurations.rae = home-manager.lib.homeManagerConfiguration {
|
||||||
|
|
|
@ -72,7 +72,7 @@
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
clock = {
|
clock = {
|
||||||
date-format = "%b %d %y";
|
date-format = "%d %b %y";
|
||||||
time-format = "%I:%M %p";
|
time-format = "%I:%M %p";
|
||||||
content.string.text = "{date} {time}";
|
content.string.text = "{date} {time}";
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,20 +1,12 @@
|
||||||
{ ... }: {
|
{ lib, ... }: {
|
||||||
raspberry-pi-nix.board = "bcm2712"; # RPI5 64bit
|
raspberry-pi-nix.board = "bcm2712"; # RPI5 64bit
|
||||||
hardware.raspberry-pi.config.all = let
|
hardware.raspberry-pi.config.all = {
|
||||||
o = k: v: {
|
base-dt-params = {
|
||||||
name = k;
|
BOOT_UART = { enable = true; value = 1; };
|
||||||
value = {
|
uart_2ndstage = { enable = true; value = 1; };
|
||||||
enable = true;
|
};
|
||||||
value = v;
|
dt-overlays = {
|
||||||
};
|
disable-bt = { enable = true; params = {}; };
|
||||||
};
|
};
|
||||||
in {
|
|
||||||
base-dt-params = builtins.listToAttrs [
|
|
||||||
(o "BOOT_UART" 1)
|
|
||||||
(o "uart_2ndstage" 1)
|
|
||||||
];
|
|
||||||
dt-overlays = builtins.listToAttrs [
|
|
||||||
(o "disable-bt" {})
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue