Compare commits
2 commits
c3b02c5f7b
...
b3bb2227d1
| Author | SHA1 | Date | |
|---|---|---|---|
| b3bb2227d1 | |||
| b646675328 |
8 changed files with 37 additions and 16 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
|
||||||
|
|
@ -11,7 +11,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
#inputs.hyprpanel.packages.homeManagerModules.hyprpanel
|
|
||||||
../modules/git.nix
|
../modules/git.nix
|
||||||
../modules/bat.nix
|
../modules/bat.nix
|
||||||
../modules/fish.nix
|
../modules/fish.nix
|
||||||
|
|
@ -23,7 +22,7 @@
|
||||||
../modules/nixcord.nix
|
../modules/nixcord.nix
|
||||||
|
|
||||||
#../modules/hypr/hypridle.nix
|
#../modules/hypr/hypridle.nix
|
||||||
#../modules/hypr/hyprlock.nix
|
../modules/hypr/hyprlock.nix
|
||||||
../modules/kanshi.nix
|
../modules/kanshi.nix
|
||||||
../modules/ags
|
../modules/ags
|
||||||
];
|
];
|
||||||
|
|
@ -93,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
|
||||||
|
|
@ -126,6 +125,15 @@
|
||||||
port = 22;
|
port = 22;
|
||||||
identityFile = "~/.ssh/id_subspace";
|
identityFile = "~/.ssh/id_subspace";
|
||||||
};
|
};
|
||||||
|
dead = {
|
||||||
|
hostname = "deadlyserver.com";
|
||||||
|
user = "emile";
|
||||||
|
port = 29843;
|
||||||
|
identityFile = "~/.ssh/id_deadlyserver";
|
||||||
|
setEnv = {
|
||||||
|
TERM = "xterm-256color";
|
||||||
|
};
|
||||||
|
};
|
||||||
youcue = {
|
youcue = {
|
||||||
hostname = "moss.labs.eait.uq.edu.au";
|
hostname = "moss.labs.eait.uq.edu.au";
|
||||||
user = "s4740056";
|
user = "s4740056";
|
||||||
|
|
@ -135,15 +143,6 @@
|
||||||
TERM = "xterm-256color";
|
TERM = "xterm-256color";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
deadlyserver = {
|
|
||||||
hostname = "deadlyserver.com";
|
|
||||||
user = "emile";
|
|
||||||
port = 29843;
|
|
||||||
identityFile = "~/.ssh/id_deadlyserver";
|
|
||||||
setEnv = {
|
|
||||||
TERM = "xterm-256color";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -41,12 +41,27 @@
|
||||||
user = "ae";
|
user = "ae";
|
||||||
port = 22;
|
port = 22;
|
||||||
identityFile = "~/.ssh/id_hyrule";
|
identityFile = "~/.ssh/id_hyrule";
|
||||||
|
setEnv = {
|
||||||
|
TERM = "linux";
|
||||||
};
|
};
|
||||||
YearnForTheMines = {
|
};
|
||||||
|
dead = {
|
||||||
hostname = "deadlyserver.com";
|
hostname = "deadlyserver.com";
|
||||||
user = "emile";
|
user = "emile";
|
||||||
port = 29843;
|
port = 29843;
|
||||||
identityFile = "~/.ssh/id_deadlyserver";
|
identityFile = "~/.ssh/id_deadlyserver";
|
||||||
|
setEnv = {
|
||||||
|
TERM = "xterm-256color";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
youcue = {
|
||||||
|
hostname = "moss.labs.eait.uq.edu.au";
|
||||||
|
user = "s4740056";
|
||||||
|
port = 22;
|
||||||
|
identityFile = "~/.ssh/id_youcue";
|
||||||
|
setEnv = {
|
||||||
|
TERM = "xterm-256color";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -450,10 +450,9 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
git
|
||||||
vim
|
vim
|
||||||
helix
|
helix
|
||||||
|
|
||||||
#wishlist
|
|
||||||
];
|
];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -229,6 +229,7 @@ in {
|
||||||
acpi
|
acpi
|
||||||
vim
|
vim
|
||||||
powertop
|
powertop
|
||||||
|
gcc
|
||||||
|
|
||||||
# Unix Commands
|
# Unix Commands
|
||||||
wget
|
wget
|
||||||
|
|
@ -308,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;
|
||||||
|
|
|
||||||
|
|
@ -213,6 +213,7 @@ in {
|
||||||
acpi
|
acpi
|
||||||
vim
|
vim
|
||||||
nix-prefetch-git
|
nix-prefetch-git
|
||||||
|
gcc
|
||||||
|
|
||||||
# Unix Commands
|
# Unix Commands
|
||||||
wget
|
wget
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue