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);
# Collection of all of our configs
nixosConfigurations = {
# =========== Desktops ===========
crow = mkPhysicalNixOSConfig ./hosts/physical/crow;
@ -78,4 +79,5 @@
# ];
# };
};
};
}

View file

@ -3,10 +3,9 @@
{
imports = [
../common/apps
../tiling
];
programs.niri.enable = true;
programs.zsh = {
profileExtra = ''
if [ -z "$WAYLAND_DISPLAY" ] && [ "$XDG_VTNR" = 1 ]; then
@ -14,9 +13,4 @@
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
console.LogLevel = 0;
initrd.verbose = false;
kernelParams = [
"quiet"

View file

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

View file

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

View file

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

View file

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