-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
311 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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? | ||
} |
Oops, something went wrong.