made all hosts more similar
This commit is contained in:
parent
b646675328
commit
b3bb2227d1
6 changed files with 9 additions and 3 deletions
1
deploy
1
deploy
|
|
@ -20,6 +20,7 @@ rebuild_flake () {
|
||||||
git add . --verbose
|
git add . --verbose
|
||||||
if [ "$1" = "reinstall-bootloader" ]; then
|
if [ "$1" = "reinstall-bootloader" ]; then
|
||||||
sudo nixos-rebuild switch --flake . --install-bootloader
|
sudo nixos-rebuild switch --flake . --install-bootloader
|
||||||
|
# STC_DISPLAY_ALL_UNITS=1 (verbose, show output of all units)
|
||||||
else
|
else
|
||||||
sudo nixos-rebuild switch --flake .
|
sudo nixos-rebuild switch --flake .
|
||||||
#nixos-rebuild build --flake .# --cores 8 -j 1
|
#nixos-rebuild build --flake .# --cores 8 -j 1
|
||||||
|
|
|
||||||
2
docs/nixos_notes.md
Normal file
2
docs/nixos_notes.md
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
Building specific parts of a NixOS system
|
||||||
|
https://nixos.org/manual/nixos/stable/#sec-building-parts
|
||||||
|
|
@ -92,7 +92,7 @@
|
||||||
|
|
||||||
# DEBUG: testing if my xdg-desktop-portal-hyprland is working or not
|
# DEBUG: testing if my xdg-desktop-portal-hyprland is working or not
|
||||||
obs-studio = {
|
obs-studio = {
|
||||||
enable = true;
|
enable = false;
|
||||||
plugins = with pkgs.obs-studio-plugins; [
|
plugins = with pkgs.obs-studio-plugins; [
|
||||||
wlrobs
|
wlrobs
|
||||||
obs-backgroundremoval
|
obs-backgroundremoval
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@
|
||||||
forwardAgent = true;
|
forwardAgent = true;
|
||||||
addKeysToAgent = "yes";
|
addKeysToAgent = "yes";
|
||||||
|
|
||||||
machBlocks = {
|
matchBlocks = {
|
||||||
hyrule = {
|
hyrule = {
|
||||||
hostname = "imbored.dev";
|
hostname = "imbored.dev";
|
||||||
user = "ae";
|
user = "ae";
|
||||||
|
|
|
||||||
|
|
@ -76,6 +76,7 @@ in {
|
||||||
#};
|
#};
|
||||||
|
|
||||||
environment.SystemPackages = with pkgs; [
|
environment.SystemPackages = with pkgs; [
|
||||||
|
btop
|
||||||
];
|
];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
|
|
||||||
|
|
@ -117,7 +117,7 @@ in {
|
||||||
# literally me fr (personal account)
|
# literally me fr (personal account)
|
||||||
me = {
|
me = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = ["wheel"];
|
extraGroups = ["wheel" "docker"];
|
||||||
shell = pkgs.bash; #pkgs.fish
|
shell = pkgs.bash; #pkgs.fish
|
||||||
packages = let
|
packages = let
|
||||||
# TODO: can I just do this: https://nix.dev/manual/nix/2.18/command-ref/new-cli/nix3-flake#url-like-syntax
|
# TODO: can I just do this: https://nix.dev/manual/nix/2.18/command-ref/new-cli/nix3-flake#url-like-syntax
|
||||||
|
|
@ -309,6 +309,8 @@ in {
|
||||||
"flakes"
|
"flakes"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
virtualisation.docker.enable = true;
|
||||||
|
|
||||||
# Some programs need SUID wrappers, can be configured further or are
|
# Some programs need SUID wrappers, can be configured further or are
|
||||||
# started in user sessions.
|
# started in user sessions.
|
||||||
# programs.mtr.enable = true;
|
# programs.mtr.enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue