This commit is contained in:
Simon Gardling 2024-09-17 10:39:25 -04:00
parent f348632d8e
commit 43e57d1f76
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D
5 changed files with 28 additions and 23 deletions

View File

@ -4,11 +4,11 @@ format_home:
nixfmt ~/.config/home-manager nixfmt ~/.config/home-manager
format_system: format_system:
doas nixfmt /etc/nixos run0 nixfmt /etc/nixos
system_update: system_update:
doas nix flake update /etc/nixos run0 nix flake update /etc/nixos
doas nixos-rebuild boot --impure run0 nixos-rebuild boot --impure
home_update: home_update:
nix flake update ~/.config/home-manager nix flake update ~/.config/home-manager

View File

@ -89,19 +89,21 @@
# Set your time zone. # Set your time zone.
time.timeZone = "America/New_York"; time.timeZone = "America/New_York";
security = { # security = {
#lets use doas and not sudo! # #lets use doas and not sudo!
doas.enable = true; # doas.enable = true;
sudo.enable = false; # sudo.enable = false;
# Configure doas # # Configure doas
doas.extraRules = [ # doas.extraRules = [
{ # {
users = [ "${username}" ]; # users = [ "${username}" ];
keepEnv = true; # keepEnv = true;
persist = true; # persist = true;
} # }
]; # ];
}; # };
#lets use run0 instead!
security.sudo.enable = false;
age.identityPaths = [ "/home/${username}/.ssh/id_ed25519" ]; age.identityPaths = [ "/home/${username}/.ssh/id_ed25519" ];

View File

@ -332,11 +332,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1726582347, "lastModified": 1726582987,
"narHash": "sha256-lqqs29aKoZRax4IqBj51FEkLTV0I4+AVASlMLbg/pK4=", "narHash": "sha256-mvlNdlD3myhLleFls5OVqaPcCVEgji0r5CmA4gX+/b4=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c1d526e8f218972060f88446b56562090cfa50cf", "rev": "6201ced8aa80b857841f7a1212594e1e62c4d67e",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -201,11 +201,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1726582347, "lastModified": 1726582987,
"narHash": "sha256-lqqs29aKoZRax4IqBj51FEkLTV0I4+AVASlMLbg/pK4=", "narHash": "sha256-mvlNdlD3myhLleFls5OVqaPcCVEgji0r5CmA4gX+/b4=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c1d526e8f218972060f88446b56562090cfa50cf", "rev": "6201ced8aa80b857841f7a1212594e1e62c4d67e",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -9,7 +9,7 @@
#fixes gnupg password entry #fixes gnupg password entry
export GPG_TTY=(${pkgs.coreutils}/bin/tty) export GPG_TTY=(${pkgs.coreutils}/bin/tty)
#pfetch on shell start #pfetch on shell start (disable pkgs because of execution time)
PF_INFO="ascii title os host kernel uptime memory editor wm" ${pkgs.pfetch-rs}/bin/pfetch PF_INFO="ascii title os host kernel uptime memory editor wm" ${pkgs.pfetch-rs}/bin/pfetch
''; '';
@ -22,6 +22,9 @@
cr = "${pkgs.cargo}/bin/cargo run"; cr = "${pkgs.cargo}/bin/cargo run";
cb = "${pkgs.cargo}/bin/cargo build"; cb = "${pkgs.cargo}/bin/cargo build";
# I hate the red background
run0 = "run0 --background=\"\"";
# from DistroTube's dot files: Changing "ls" to "eza" # from DistroTube's dot files: Changing "ls" to "eza"
ls = "${eza_common} -al"; ls = "${eza_common} -al";
la = "${eza_common} -a"; la = "${eza_common} -a";