feat: initial commit

add initial NixOS Configuration to git
This commit is contained in:
Emma Thorpe
2025-03-16 15:30:13 +00:00
commit 44da0fbd49
3 changed files with 58 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
{ config, lib, options, pkgs, ... }:
let
cfg = config.features.swayDesktop;
in
{
options = {
features.swayDesktop.enable = lib.mkEnableOption "Enable Sway Desktop";
};
config = lib.mkIf cfg.enable {
programs.sway = {
enable = true;
wrapperFeatures.gtk = true;
};
environment.systemPackages = with pkgs; [
i3status-rust
sway-launcher-desktop
];
fonts.packages = with pkgs; [
noto-fonts
noto-fonts-emoji
font-awesome
];
};
}