Fun artemision changes

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2024-03-28 02:39:29 -04:00 committed by Alice Huston
parent 6a419c3143
commit 97337d0714
8 changed files with 114 additions and 6 deletions

View File

@ -68,11 +68,25 @@
enableZshIntegration = true; enableZshIntegration = true;
}; };
neovim = {
enable = true;
defaultEditor = true;
vimAlias = true;
vimdiffAlias = true;
extraConfig = ''
set bg=dark
set tabstop=2
set shiftwidth=2
set expandtab
set smartindent
'';
};
nix-index = { nix-index = {
enable = true; enable = true;
enableZshIntegration = true; enableZshIntegration = true;
}; };
tmux.enable = true;
topgrade = { topgrade = {
enable = true; enable = true;
settings = { settings = {
@ -89,5 +103,10 @@
services.ssh-agent.enable = true; services.ssh-agent.enable = true;
# TODO: add environment bs
home.sessionVariables = {
EDITOR = "nvim";
};
home.stateVersion = "23.11"; home.stateVersion = "23.11";
} }

View File

@ -94,6 +94,4 @@
"hx" = "helix"; "hx" = "helix";
}; };
}; };
# TODO: add environment bs
} }

View File

@ -1,10 +1,11 @@
{ pkgs, ... }: { config, pkgs, ... }:
{ {
imports = [ imports = [
../configuration.nix ../configuration.nix
../programs.nix ../programs.nix
./programs.nix ./programs.nix
./desktop.nix ./desktop.nix
./wifi.nix
]; ];
time.timeZone = "America/New_York"; time.timeZone = "America/New_York";
@ -55,5 +56,27 @@
services.fprintd.enable = false; services.fprintd.enable = false;
services.spotifyd = {
enable = true;
settings = {
global = {
username = "snowinginwonderland@gmail.com";
password_cmd = "cat ${config.sops.secrets."apps/spotify".path}";
};
};
#systemd.services.spotifyd.serviceConfig = systemd.services.spotifyd.
};
system.stateVersion = "24.05"; system.stateVersion = "24.05";
sops = {
defaultSopsFile = ./secrets.yaml;
secrets = {
"apps/spotify" = {
group = "audio";
restartUnits = [ "spotifyd.service" ];
mode = "0440";
};
};
};
} }

View File

@ -16,4 +16,25 @@
services.xserver.displayManager.gdm = { services.xserver.displayManager.gdm = {
enable = true; enable = true;
}; };
services.dbus = {
enable = true;
implementation = "broker";
};
programs.gnupg.agent = {
enable = true;
#pinentryPackage = pkgs.pinentry-rofi;
pinentryPackage = pkgs.pinentry-gnome3;
settings = {
keyserver-options = "auto-key-retrieve";
auto-key-locate = "hkps://keys.openpgp.org";
keyserver = "hkps://keys.openpgp.org";
#keyserver = "hkp://pgp.mit.edu";
# "na.pool.sks-keyservers.net"
# "ipv4.pool.sks-keyservers.net"
# "p80.pool.sks-keyservers.net"
# ];
};
};
} }

View File

@ -1,6 +1,7 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
alacritty
bat bat
btop btop
croc croc

View File

@ -8,6 +8,9 @@ example_number: ENC[AES256_GCM,data:g8BIEIcwKRLSbw==,iv:Ay4aiukAvXeDhzlpMPn++zR0
example_booleans: example_booleans:
- ENC[AES256_GCM,data:94T9mg==,iv:qKGJke4SGhgN09Yebh5MPrRBDNnguJQ+1dl5XQffGZQ=,tag:0Pa3eujmSxDCnAHKHsx6yQ==,type:bool] - ENC[AES256_GCM,data:94T9mg==,iv:qKGJke4SGhgN09Yebh5MPrRBDNnguJQ+1dl5XQffGZQ=,tag:0Pa3eujmSxDCnAHKHsx6yQ==,type:bool]
- ENC[AES256_GCM,data:gEvfi+Q=,iv:0DrXoZk8OkdUShc7WAKOL8xG26RFZp3M3qYFAb1hDAs=,tag:uemBrdF87nrfLpfnQ8bD8g==,type:bool] - ENC[AES256_GCM,data:gEvfi+Q=,iv:0DrXoZk8OkdUShc7WAKOL8xG26RFZp3M3qYFAb1hDAs=,tag:uemBrdF87nrfLpfnQ8bD8g==,type:bool]
apps:
spotify: ENC[AES256_GCM,data:bp1pdOfS+VGWLtepUjg7KFWw8Fk=,iv:twGO3CjzRxAU81C93mX8qIEZ/FYIQRJnMd2HIuvP9q8=,tag:AJgs0QGFH30E8+ZpaB02TQ==,type:str]
wifi-env: ENC[AES256_GCM,data:rMGgemyp/zspbZGsSUbjTHfjaMtypo50GH1yMxhMOcaGVA==,iv:diJY8gsdLcqpO6kg0QjHEpGI1/k7pxbXg64Y5ZFlK0A=,tag:WdSrvybUkyXNkV4YqggNsQ==,type:str]
#ENC[AES256_GCM,data:pC2Kdy7wNc0=,iv:J7Ggfv6K3dCzL42j5MGd+BjQGseoAoYs4k6+yc3FSiA=,tag:9MriduP9SEIi+c1q4tfzlQ==,type:comment] #ENC[AES256_GCM,data:pC2Kdy7wNc0=,iv:J7Ggfv6K3dCzL42j5MGd+BjQGseoAoYs4k6+yc3FSiA=,tag:9MriduP9SEIi+c1q4tfzlQ==,type:comment]
sops: sops:
kms: [] kms: []
@ -24,8 +27,8 @@ sops:
UlhhNzNjTHdVaXlPOFJhc0EyZGh3RDQK1c7nctmrorze4Kr0Grmcmx3N/UYXPwJc UlhhNzNjTHdVaXlPOFJhc0EyZGh3RDQK1c7nctmrorze4Kr0Grmcmx3N/UYXPwJc
FfClOoGxO+4ZDtxG61SDU1UdYae4loQ8roM8jDIPFMfoEum2bT8oXw== FfClOoGxO+4ZDtxG61SDU1UdYae4loQ8roM8jDIPFMfoEum2bT8oXw==
-----END AGE ENCRYPTED FILE----- -----END AGE ENCRYPTED FILE-----
lastmodified: "2024-03-23T05:46:44Z" lastmodified: "2024-03-28T05:38:52Z"
mac: ENC[AES256_GCM,data:/QpK5JuZgnKKHSOTKMRV291UJbPQaNFOx5hheBFx8aVKbS0TGPBMhFp65mw2dOjwT92iyjTxsox/wwev0wcNdNwlvLYTwFdwf4D6FHyLgX/DSkMfqcXbk8HHFlu0LEyd3W6wi2DBsB0KwiVcfsFKoUD4fKbpWnY2EXFOPD6L2Vg=,iv:hPlgFlPqTDXqfcCjRsJuznR+d3PlwT2kJ/TwFe1obfM=,tag:ZkpcEP0u95vvR37GkJGkuQ==,type:str] mac: ENC[AES256_GCM,data:cVxaW4uW9FoOvIDdq4V+ugvm5H/jrplduIuULeFaMbH3EReYNKCq2PRv/BB0i7+eoCSSlzok/Ifb3YuLZCuSust0t6+fD2QP94rJsW/3On/QJI7YniHKlDBihqBmNNaOJz8ybo0rNIOCJfIoN5Pcsrk+S7GiELVEBwPrKcSY/mA=,iv:zE2AhXNZllW5+JwcTe31B84cZrRkNvmctsbV38GDkTk=,tag:jKFyMT/GGIY6boUUy2eQuw==,type:str]
pgp: pgp:
- created_at: "2024-03-23T05:46:35Z" - created_at: "2024-03-23T05:46:35Z"
enc: |- enc: |-

View File

@ -0,0 +1,37 @@
{ config, ... }:
{
networking.wireless = {
enable = true;
environmentFile = config.sops.secrets."wifi-env".path;
networks = {
"taetaethegae-2.0".psk = "@PASS_taetaethegae_20@";
};
};
networking.nameservers = [
"192.168.76.1"
"9.9.9.9"
];
#pinentryPackage = pkgs.pinentry-rofi;
services.resolved = {
enable = true;
dnssec = "true";
domains = [ "~." ];
fallbackDns = [
"1.1.1.1#one.one.one.one"
"1.0.0.1#one.one.one.one"
];
dnsovertls = "true";
};
sops = {
defaultSopsFile = ./secrets.yaml;
secrets = {
"wifi-env" = {
owner = "root";
restartUnits = [ "wpa_supplicant.service" ];
};
};
};
}

View File

@ -7,28 +7,33 @@
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
bfg-repo-cleaner bfg-repo-cleaner
bitwarden-cli
candy-icons candy-icons
calibre calibre
# calibre dedrm? # calibre dedrm?
cinnamon.nemo
discord-canary discord-canary
eza
fanficfare fanficfare
ferium ferium
firefox
# gestures replacement # gestures replacement
gpu-viewer gpu-viewer
headsetcontrol headsetcontrol
ipmiview ipmiview
ipscan ipscan
kitty
masterpdfeditor4 masterpdfeditor4
mons mons
# nbt explorer? # nbt explorer?
neovim neovim
noisetorch noisetorch
ocrmypdf ocrmypdf
pinentry-rofi
playonlinux playonlinux
protonmail-bridge protonmail-bridge
protontricks protontricks
redshift redshift
restic
ripgrep ripgrep
rpi-imager rpi-imager
rofi-wayland rofi-wayland
@ -37,6 +42,7 @@
simple-mtpfs simple-mtpfs
slack slack
snyk snyk
sops
spotify spotify
spotify-player spotify-player
#swaylock/waylock? #swaylock/waylock?