Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
elythh committed Aug 30, 2024
1 parent 60f0c85 commit 2a532d2
Show file tree
Hide file tree
Showing 11 changed files with 311 additions and 124 deletions.
100 changes: 100 additions & 0 deletions homes/x86_64-linux/gwen@aurelionite/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
{
config,
lib,
namespace,
...
}:
let
inherit (lib.${namespace}) enabled;
in
{
elyth = {
user = {
enable = true;
inherit (config.snowfallorg.user) name;
};

programs = {
graphical = {
apps = {
thunderbird = enabled;
zathura = enabled;
};

bars = {
waybar = {
fullSizeOutputs = [
"eDP-1"
"HDMI-A-1"
];
condensedOutputs = [ "DP-3" ];
};
};

browsers = {
firefox = {
gpuAcceleration = true;
hardwareDecoding = true;
};
};

wms = {
hyprland = {
enable = true;
};
};
};

terminal = {
tools = {
git = {
enable = true;
};

run-as-service = enabled;
ssh = enabled;
};
};
};

services = {
hyprpaper = enabled;

rnnoise = enabled;

sops = {
enable = true;
defaultSopsFile = lib.snowfall.fs.get-file "secrets/gwen/secrets.yaml";
sshKeyPaths = [ "${config.home.homeDirectory}/.ssh/id_ed25519" ];
};
};

system = {
xdg = enabled;
};

theme = enabled;

suites = {
business = enabled;
common = enabled;
desktop = enabled;

development = {
enable = true;

dockerEnable = false;
kubernetesEnable = true;
nixEnable = true;
};

music = enabled;
networking = enabled;
photo = enabled;
social = enabled;
video = enabled;
};
};

home.stateVersion = "24.05";
}
1 change: 1 addition & 0 deletions modules/home/programs/terminal/shell/zsh/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ in
dotDir = ".config/zsh";
envExtra = ''
export PATH=~/.local/bin:~/.local/share/nvim/mason/bin:$PATH
export EDITOR=nvim
'';
initExtra = ''
source ~/.config/zsh/env.zsh
Expand Down
8 changes: 4 additions & 4 deletions modules/home/programs/terminal/social/slack-term/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ in
home.packages = [ pkgs.slack-term ];

sops.secrets = {
# slack-term = {
# sopsFile = lib.snowfall.fs.get-file "secrets/gwen/secrets.yaml";
# path = "${config.home.homeDirectory}/.config/slack-term/config";
# };
slack-term = {
sopsFile = lib.snowfall.fs.get-file "secrets/gwen/secrets.yaml";
path = "${config.home.homeDirectory}/.config/slack-term/config";
};
};
};
}
31 changes: 0 additions & 31 deletions modules/home/programs/terminal/tools/go/default.nix

This file was deleted.

81 changes: 0 additions & 81 deletions modules/nixos/displaymanager/regreet/default.nix

This file was deleted.

1 change: 1 addition & 0 deletions modules/shared/nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ in
};

environment = {
variables.FLAKE = "/home/gwen/Documents/dots/elythh/flake";
etc = with inputs; {
# set channels (backwards compatibility)
"nix/flake-channels/system".source = self;
Expand Down
5 changes: 3 additions & 2 deletions secrets/gwen/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ kubernetes: ENC[AES256_GCM,data:/ipEEaoK5+tkXq4tPdjMalUb5Vl6CuPGtmYG07/yY/6V38px
twitch-tui: ENC[AES256_GCM,data:PsnkSmlbA70HW3ckaVHb8sokC78ALK6X/hfCbfM9qlg75XqDj6mIWEBegL1dyJIYEHOFe3FoKEnOVCMqqLZLQ4ppRfAKo6VuU3LZt7Jhpvc1srMK5QjnGJOI3QOHMSZUTSfYuieCqxSXWhbQ5iKKVvOlGbzBSSD2w3+uQlHSHr/OLX62ywU0LXzPB7YK5re1k/JHE6GaugZ0laXbv2DwCBAQRHi9vyAh7z7lQmzVBnCODCtqlPXf9H/emWoGsj1PMLDFPJoGW5QrcMXGoLOM5WKiAXzy5JHUHWBqapmpoQ0TGp1arhSUab6BYeHDtvmtutTlJenSpG+C/lZlQObwpq4WeLMN3T6Xbot7p8Bx0XvZeEbfW4U45unNVlrRqSoFc0F6OgLJwD5id25OaEkQq/eSG0BfqcdrPoXlxPEm+450Pd42RC7tIsZY2+lOmYKu/WYW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TqZMfgSAnCzqXfN+qPl/qKWxfx/CeeBEPg5OwKU5y2YVp,iv:PqmgQP6etH8A0lZB9l2tvQiq8SCIO1JGnf/vAYWQkdE=,tag:WA0rXymuUe4ix3PCFyyhBg==,type:str]
ANTHROPIC_API_KEY: ENC[AES256_GCM,data:S7vPc2t65ig0pwKkPSCzRbYGhSAKyG3rh7Up/237brJ3C+h6bmg0zdl32IDrJ71IOYgtbd4sltYVf5xv4oLtvO95a2F4sg9tkOK8sNFmBGaVvJW/ioH1EyKhGJAzBg+4grXd591dlwcfiNLD,iv:6Zfvw50luNekYRPAfiKm3vORZJPNopHwx7F6UwdjEKM=,tag:YyEh3S9D0cifGC09PUhS4Q==,type:str]
slack-term: ENC[AES256_GCM,data:Mle7+kt2g2mY8jp7SLsTlXKXnKLGZNiyS73D4Q7xZYt7/f8vlpcYEf//MQJe5VVL6JRRP+MI5praH6bIU+dGOLFgOo9Vby7Zdpz1YAuBp9Njrcgo/USHDmKzVOiYBcWmHY3t4ftgEBcOp4jWfZnQQ85RiGnd/h6YsUR+ZS4RK1jXlQ==,iv:j9xus+4TKCFJvms7pXs8hH6OdJ66ARuup6SFO1dj+DY=,tag:jvgaTVHRyZImd/xNPWrPBQ==,type:str]
sops:
kms: []
gcp_kms: []
Expand All @@ -21,8 +22,8 @@ sops:
WldURGJYTG0ybFg0YXlpbzY5WU14M2sKWW7TM1p5OUiIOXBiYg5T1U9nuOdRA/q0
NKjB6Ky7OwKRnCvYWTe5kx/+R/psHtRSEgtJ1YZA8esZ0f/jhFBNfg==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-08-30T18:00:40Z"
mac: ENC[AES256_GCM,data:KWnZxpzUsNVoUibzFoiTT0oxAMRXmFjO3JPAoqQ462x0dKFBVjRh8axWueTxQvzFBhb2jAbIXfUn+6+K5ZjJqld/zQbdy1W/uOXO//ZjUnL7/Uqoi5VhbLom7BmE1sCgM8DeghaVdsPK229dNRWHLWmqDs6I45Ynn+efnCWtnvo=,iv:p19l+RjrmoaJMAsNpOhBP527qV5V6B6oIoZN73C/PXU=,tag:pUY/vk/cs0HiEmyzX1UO+A==,type:str]
lastmodified: "2024-08-30T23:08:59Z"
mac: ENC[AES256_GCM,data:CAFcQjegN1eZmeK94La6obNsk5j3yc14diK9XZztlHkG6yMiapjFR4VtL06UGkHPgEBZafrrUHxXwZlA/7uPPUvABbvkXxdxYvrYagogVH8/yD0LqkFmSLqDxiCP2aLRtdYbSGZx6b4vxcuZEgOB4ECMHpELtBjtf9MGOFSUS4Q=,iv:6VhidQmwhKWNlzgbfwMipVJjVK6bE0SHnSHu/Al7LS0=,tag:DX0NZ6sPElGeSfnSxTwmTA==,type:str]
pgp: []
unencrypted_suffix: _unencrypted
version: 3.9.0
121 changes: 121 additions & 0 deletions systems/x86_64-linux/aurelionite/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
{
config,
lib,
namespace,
...
}:
let
inherit (lib.${namespace}) enabled;
in
{
imports = [
./hardware.nix
];
elyth = {
nix = enabled;

archetypes = {
personal = enabled;
workstation = enabled;
};

hardware = {
audio = {
enable = true;
};
bluetooth = enabled;
cpu.amd = enabled;
opengl = enabled;
};

programs = {
graphical = {
addons = {
noisetorch = {
enable = false;
threshold = 95;
device = "alsa_input.usb-Blue_Microphones_Yeti_Stereo_Microphone_LT_191128065321F39907D0_111000-00.analog-stereo";
deviceUnit = "sys-devices-pci0000:00-0000:00:01.2-0000:02:00.0-0000:03:08.0-0000:08:00.3-usb3-3\x2d2-3\x2d2.1-3\x2d2.1.4-3\x2d2.1.4.3-3\x2d2.1.4.3:1.0-sound-card3-controlC3.device";
};
};

wms = {
hyprland = {
enable = true;
};
};
};
};

services = {
power = enabled;

openssh = {
enable = true;

authorizedKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP8Uvx1a/dkacYXKXDikaFL6kfRk+kSj6n7Pwm9t6+HP"
];

# TODO: make part of ssh config proper
extraConfig = ''
Host server
User ${config.${namespace}.user.name}
Hostname elyth.local
'';
};
};

security = {
# doas = enabled;
keyring = enabled;
sudo-rs = enabled;
};

suites = {
development = {
enable = true;
dockerEnable = true;
kubernetesEnable = true;
nixEnable = true;
};
};

system = {
boot = {
enable = true;
silentBoot = true;
};

fonts = enabled;
locale = enabled;
networking = {
enable = true;
optimizeTcp = true;
};
time = enabled;
};

theme = {
qt = enabled;
gtk = enabled;
};
};

nix.settings = {
cores = 24;
max-jobs = 24;
};

services = {
displayManager.defaultSession = "hyprland";
};

# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. It‘s perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "24.05"; # Did you read the comment?
}
Loading

0 comments on commit 2a532d2

Please sign in to comment.