[nb] Commit

This commit is contained in:
Thai Noodles 2024-03-02 16:57:38 -08:00
parent 7c62da7b0f
commit 8b1a4a265d
8 changed files with 33 additions and 18 deletions

View File

@ -13,6 +13,10 @@ sudo nixos-rebuild switch --flake ".#<hostname>"
sudo nixos-rebuild switch --flake ".#<hostname>" --update-input nixpkgs --commit-lock-file sudo nixos-rebuild switch --flake ".#<hostname>" --update-input nixpkgs --commit-lock-file
``` ```
## How to install with single command
```
nix-shell -p git --command "nix run https://git.sdf.org/iiogama/confix --extra-experimental-features nix-command --extra-experimental-features flakes --flake .#fireweed"
## How to install new system with flake ## How to install new system with flake
### Method 1 ### Method 1

View File

@ -30,9 +30,7 @@
strace strace
]; ];
systemPackages = with pkgs; [ systemPackages = with pkgs; [
bottom
curl curl
eva
ranger ranger
wget wget
]; ];

View File

@ -7,8 +7,18 @@
environment = { environment = {
localBinInPath = true; localBinInPath = true;
variables = { variables = {
LIBSEAT_BACKEND = "logind";
SYSTEMD_PAGER = "";
};
sessionVariables = rec {
INPUTRC = "$XDG_CONFIG_HOME/inputrc";
# Environmental variable needed for mosh connections # Environmental variable needed for mosh connections
LC_CTYPE = "${user.locale}"; LC_CTYPE = "${user.locale}";
XDG_BIN_HOME = "$HOME/.local/bin";
XDG_CACHE_HOME = "$HOME/.cache";
XDG_CONFIG_HOME = "$HOME/.config";
XDG_DATA_HOME = "$HOME/.local/share";
XDG_STATE_HOME = "$HOME/.local/state";
}; };
}; };
services = { services = {
@ -30,7 +40,9 @@
}; };
users.users.${user.name}.packages = with pkgs; [ users.users.${user.name}.packages = with pkgs; [
bashmount bashmount
bottom
cifs-utils cifs-utils
eva
exiftool exiftool
gpg-tui gpg-tui
killall killall

View File

@ -120,5 +120,6 @@
}; };
users.users.${user.name}.packages = with pkgs; [ users.users.${user.name}.packages = with pkgs; [
glib glib
xdg-desktop-portal-wlr
]; ];
} }

View File

@ -21,7 +21,8 @@ in
enable = true; enable = true;
settings = { settings = {
default_session = { default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet -c river"; #command = "${pkgs.greetd.tuigreet}/bin/tuigreet -c river";
command = "${pkgs.greetd.greetd}/bin/agreety --cmd river";
}; };
}; };
}; };
@ -66,13 +67,8 @@ in
nushell nushell
python311Packages.eyeD3 python311Packages.eyeD3
tagutil tagutil
greetd.tuigreet #greetd.tuigreet
]; ];
}; };
environment.sessionVariables = {
SYSTEMD_PAGER = "";
INPUTRC = "$XDG_CONFIG_HOME/inputrc";
LIBSEAT_BACKEND = "logind";
};
system.stateVersion = "23.11"; system.stateVersion = "23.11";
} }

View File

@ -33,17 +33,16 @@ in
allowedUDPPorts = []; allowedUDPPorts = [];
}; };
}; };
users.users.${user.name} = {
};
services = { services = {
mullvad-vpn = {
enable = true;
package = pkgs.mullvad-vpn;
};
cage = { cage = {
enable = true; enable = true;
program = "${pkgs.foot}/bin/foot"; program = "${pkgs.foot}/bin/foot";
user = "${user.name}"; user = "${user.name}";
}; };
mullvad-vpn = {
enable = true;
package = pkgs.mullvad-vpn;
}; };
};
system.stateVersion = "24.05";
} }

View File

@ -57,9 +57,6 @@
}; };
map = { map = {
command = { command = {
"None+Shift Comma" = "spawn 'playerctl previous'";
"None Space" = "spawn 'playerctl play-pause'";
"None+Shift Period" = "spawn 'playerctl next'";
"None 1" = "spawn 'mullvad-browser'"; "None 1" = "spawn 'mullvad-browser'";
"None 2" = "spawn 'librewolf'"; "None 2" = "spawn 'librewolf'";
"None 3" = "spawn 'libreoffice'"; "None 3" = "spawn 'libreoffice'";
@ -68,6 +65,9 @@
"None 6" = "spawn 'signal-desktop'"; "None 6" = "spawn 'signal-desktop'";
"None 9" = "spawn 'steam'"; "None 9" = "spawn 'steam'";
"None Z" = "spawn 'riverctl toggle-fullscreen; riverctl enter-mode normal'"; "None Z" = "spawn 'riverctl toggle-fullscreen; riverctl enter-mode normal'";
"None+Shift Comma" = "spawn 'playerctl previous; riverctl enter-mode normal'";
"None Space" = "spawn 'playerctl play-pause; riverctl enter-mode normal'";
"None+Shift Period" = "spawn 'playerctl next; riverctl enter-mode normal'";
"None Escape" = "enter-mode normal"; "None Escape" = "enter-mode normal";
}; };
locked = { locked = {

View File

@ -1,6 +1,11 @@
# Misc Tools # Misc Tools
{ config, lib, pkgs, user, ... }: { config, lib, pkgs, user, ... }:
{ {
programs.nix-ld = {
enable = true;
libraries = with pkgs; [
];
};
users.users.${user.name}.packages = with pkgs; [ users.users.${user.name}.packages = with pkgs; [
dua dua
dstat dstat