Break out tiling apps

This commit is contained in:
nest 2025-12-09 18:27:15 -05:00
parent 59c97c9143
commit a70afa5410
14 changed files with 79 additions and 38 deletions

View file

@ -59,6 +59,7 @@
formatter = nixpkgs.lib.genAttrs systems (system: nixpkgs.legacyPackages.${system}.alejandra); formatter = nixpkgs.lib.genAttrs systems (system: nixpkgs.legacyPackages.${system}.alejandra);
# Collection of all of our configs # Collection of all of our configs
nixosConfigurations = {
# =========== Desktops =========== # =========== Desktops ===========
crow = mkPhysicalNixOSConfig ./hosts/physical/crow; crow = mkPhysicalNixOSConfig ./hosts/physical/crow;
@ -78,4 +79,5 @@
# ]; # ];
# }; # };
}; };
};
} }

View file

@ -3,10 +3,9 @@
{ {
imports = [ imports = [
../common/apps ../common/apps
../tiling
]; ];
programs.niri.enable = true;
programs.zsh = { programs.zsh = {
profileExtra = '' profileExtra = ''
if [ -z "$WAYLAND_DISPLAY" ] && [ "$XDG_VTNR" = 1 ]; then if [ -z "$WAYLAND_DISPLAY" ] && [ "$XDG_VTNR" = 1 ]; then
@ -14,9 +13,4 @@
fi fi
''; '';
}; };
home.package = with pkgs; [
swaybg
mako
];
} }

View file

@ -0,0 +1,9 @@
{
imports = [
swaybg.nix
swaylock.nix
mako.nix
swayidle.nix
quickshell.nix
];
}

View file

@ -0,0 +1,5 @@
{ pkgs, ... }:
{
services.mako.enable = true;
}

View file

@ -0,0 +1,7 @@
{ pkgs, ... }:
{
programs.quickshell = {
enable = true;
};
}

View file

@ -0,0 +1,7 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
swaybg
];
}

View file

@ -0,0 +1,7 @@
{ pkgs, ... }:
{
services.swayidle = {
enable = true;
};
}

View file

@ -0,0 +1,7 @@
{ pkgs, ... }:
{
programs.swaylock = {
enable = true;
};
}

View file

@ -0,0 +1,3 @@
{
imports = [ ./apps ];
}

View file

@ -41,7 +41,6 @@
}; };
# "Silent" boot # "Silent" boot
console.LogLevel = 0;
initrd.verbose = false; initrd.verbose = false;
kernelParams = [ kernelParams = [
"quiet" "quiet"

View file

@ -13,7 +13,7 @@
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
enviroment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
tree tree
htop htop
dig dig

View file

@ -11,7 +11,7 @@
inherit inputs vars; inherit inputs vars;
}; };
useGlobalPackages = true; useGlobalPkgs = true;
useUserPackages = true; useUserPackages = true;
# Common home-manager imports # Common home-manager imports

View file

@ -1,32 +1,28 @@
{ { pkgs, ... }: {
pgks,
...
}:
{ environment.systemPackages = with pkgs; [
environment.systemPackage = with pkgs; [
zsh zsh
oh-my-zsh oh-my-zsh
]; ];
enviroment.variables = { environment.variables = {
NIX_FLAKE_PATH = "/etc/nixos"; NIX_FLAKE_PATH = "/etc/nixos";
}; };
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableBashCompletion = true; enableBashCompletion = true;
enableConpletion = true; enableCompletion = true;
autosuggestions.enable = true; autosuggestions.enable = true;
history.append = true; # history.append = true;
history.size = 10000; # history.size = 10000;
ohMyZsh = { ohMyZsh = {
enable = true; enable = true;
theme = "bira"; theme = "bira";
plugins = [ plugins = [
sudo "sudo"
git "git"
]; ];
}; };

View file

@ -1,5 +1,10 @@
{ vars, pkgs, ... }: { { vars, pkgs, ... }: {
programs.niri.enable = true;
security.polkit.enable = true; security.polkit.enable = true;
security.pam.services.swaylock = {};
services.gnome.gnome-keyring.enable = true;
services.displayManager = { services.displayManager = {
gdm.enable = true; gdm.enable = true;