Skip to content

Commit

Permalink
feat: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sioodmy committed Nov 3, 2023
1 parent eb0f4e3 commit bb7d2aa
Show file tree
Hide file tree
Showing 18 changed files with 40 additions and 24 deletions.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
};
});
}
# see also:
# see also:
# - https://github.com/notashelf/nyx
# - https://github.com/fufexan/dotfiles/

File renamed without changes.
6 changes: 3 additions & 3 deletions home/cli/default.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{...}: {
imports = [
./helix
./helix.nix
./bottom.nix
./git.nix
./shell
./git
./tools
./bottom
];
}
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion home/impermanence.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ _: {
".local/share/Steam"
".ssh"
".local/share/direnv"
".local/share/containers/"
".local/share/distrobox"
".cache/containers"
".cache/flutter"
".config/syncthing"
Expand Down
20 changes: 10 additions & 10 deletions home/misc/schizofox.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@
};
search = {
defaultSearchEngine = "Google";
removeEngines = [ "Bing" "Amazon.com" "eBay" "Twitter" "Wikipedia"];
addEngines = [
{
Name = "LibreY";
Description = "femboy search :3";
Alias = "!ly";
Method = "GET";
URLTemplate = "https://search.ahwx.org/search.php?q={searchTerms}&p=0&t=0";
}
];
removeEngines = ["Bing" "Amazon.com" "eBay" "Twitter" "Wikipedia"];
addEngines = [
{
Name = "LibreY";
Description = "femboy search :3";
Alias = "!ly";
Method = "GET";
URLTemplate = "https://search.ahwx.org/search.php?q={searchTerms}&p=0&t=0";
}
];
};
};
}
File renamed without changes.
14 changes: 7 additions & 7 deletions home/rice/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{...}: {
imports = [
./anyrun
./foot
./gtklock
./spotify
./zathura
./dunst
./gtk
./anyrun.nix
./foot.nix
./gtklock.nix
./spotify.nix
./zathura.nix
./dunst.nix
./gtk.nix
./hyprland
./waybar
];
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions hosts/anthe/hardware-configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
}: {
imports = [(modulesPath + "/installer/scan/not-detected.nix")];

fileSystems."/etc/ssh" = {
depends = ["/persist"];
neededForBoot = true;
};

boot.initrd.luks.devices.luksroot = {
device = "/dev/disk/by-label/NIXCRYPT";
preLVM = true;
Expand Down
10 changes: 9 additions & 1 deletion secrets/secrets.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
let
{config, ...}: let
sioodmy = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE9ExEl6WqtCI4yCqbSAhAGmzvVp/nYADbgy/Qi4AKQy sioodmy@anthe";

anthe = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC3LBESPBY559NbAJ7KL/+K4S5InhWf5YDQgl2XjT5ZxTtPg0x24IDcEmxrPi+7nKSAvMJCkneTfWHPYoRYrNA/G15a+Pqr/9w1EtuK+D054qtz2q+oUM029JdTP/0qzbKxAV/qzUXyJyrgcGRnRYhFRKmg3Sl7G7mxhYN20RIYL3ENXnpfculGrnqX8yONda7YRQfjyEQAsLUIS4aEN7pQsUGO2lGzvXueHcRGRflbatVD59REWoD5kYE984EVhgbky092HHhDR5rIFnFJygrhl9irYk7x6Un98qsvKBeRKzpNMZ1iqs8EFdSbayNdRimooSyFLx83pUhx7SY01cJXxuVmW8Rec9xgnW8rrclz2H+ArQHSZQz/T/QPH2zZgtE3A2xX5HsmQnCu/h7yOpwD6ULTyR8/xK61jHgx4AM1hLyGGrMoPailSXyvT9OGnmXuvcIrx8R2oHy7e48DGWiTHoW8+nltWURkUjdolg373ruLxT+Rqf1JFgPcFwCEVSjVxtTz33ljFD31OOKjs5O2y/9jndwcx54twlgLr+H/6Y1SWIPNeuhNO3IiGuFkH3+JLrQLXVN9UIE1/qHyOIIJpR3ONd4uW6xDsnl8SBZUWuYf468FQGHkinWZxdYdi1SlHbulXxGPTiRjqSUBeR9fB+CND2WJEvfeSJccofk29w== root@anthe";
in {
age.identityPaths =
if config.custom.impermanence.enable
then [
"/persist/home/sioodmy/.ssh/id_ed25519"
]
else [
"/home/sioodmy/.ssh/id_ed25519"
];
"spotify.age".publicKeys = [sioodmy anthe];
}
5 changes: 4 additions & 1 deletion system/core/impermanence.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
...
}: {
imports = [inputs.impermanence.nixosModule];
fileSystems."/etc/ssh" = {
depends = ["/persist"];
neededForBoot = true;
};
environment.persistence."/persist" = {
hideMounts = true;
directories = [
Expand All @@ -19,7 +23,6 @@

"/etc/NetworkManager/system-connections"
"/var/lib/flatpak"
"/run/agenix"
"/var/lib/libvirt"
"/var/lib/bluetooth"
"/var/lib/nixos"
Expand Down

0 comments on commit bb7d2aa

Please sign in to comment.