Compare commits

..

4 Commits

Author SHA1 Message Date
Sravan Balaji
e8f01d585c First attempt at adding polybar-dwm-module
- Update flake.lock
- Switch from awesome back to dwm
- Attempt to modify existing polybar nix package
  to point to mihirlad55's polybar-dwm-module
2024-03-30 16:06:05 -04:00
Sravan Balaji
f04575f44b Add btrbk for backups 2024-03-30 08:26:27 -04:00
Sravan Balaji
cb9150aa12 Add AwesomeWM 2024-03-30 08:22:34 -04:00
Sravan Balaji
28e2523bad Modify disko BTRFS Subvolume Layout
- Decrease swapfile size to 10G (don't really need hibernation)
- Remove extra BTRFS mount options like disarcd=async, space_cache=v2,
  and ssd
- Add a games subvolume
- Add a subvolume for /var/log
2024-03-30 08:15:50 -04:00
16 changed files with 45 additions and 76 deletions

View File

@@ -3,5 +3,6 @@
{
imports = [
./fonts.nix
./utilities.nix
];
}

View File

@@ -3,23 +3,14 @@
{
imports = [
./default.nix
./lightdm.nix
./x11.nix
];
services.xserver = {
services.xserver.windowManager.dwm = {
enable = true;
xkb = {
layout = "us";
variant = "";
options = "";
};
windowManager.dwm = {
enable = true;
package = pkgs.dwm.overrideAttrs {
src = (/home + "/${userSettings.username}" + /.config/dwm-flexipatch);
buildInputs = with pkgs; [
xorg.libX11.dev
xorg.libXinerama
@@ -32,18 +23,9 @@
};
};
displayManager = {
defaultSession = "none+dwm";
lightdm.enable = true;
};
};
services.picom.enable = true;
services.xserver.displayManager.defaultSession = "none+dwm";
environment.systemPackages = with pkgs; [
arandr
autorandr
unclutter-xfixes
(polybar.overrideAttrs (finalAttrs: previousAttrs: {
pname = previousAttrs.pname + "-dwm-module";
version = "3.5.2";
@@ -57,7 +39,7 @@
};
buildInputs = previousAttrs.buildInputs ++ [
jsoncpp
pkgs.jsoncpp
];
}))
];

View File

@@ -6,10 +6,5 @@
powerline
font-awesome
ubuntu_font_family
(nerdfonts.override {
fonts = [
"FiraCode"
];
})
];
}

View File

@@ -3,14 +3,12 @@
{
imports = [
./default.nix
(if systemSettings.desktopType == "x11" then ./x11.nix else "")
];
services.xserver = {
displayManager.gdm = {
services.xserver.displayManager.gdm = {
enable = true;
wayland = (if systemSettings.desktopType == "x11" then false else true);
};
desktopManager.gnome.enable = true;
};
services.xserver.desktopManager.gnome.enable = true;
}

View File

@@ -3,16 +3,13 @@
{
imports = [
./default.nix
(if systemSettings.desktopType == "x11" then ./x11.nix else "")
];
services.xserver.displayManager = {
sddm = {
enable = true;
wayland.enable = (if systemSettings.desktopType == "x11" then false else true);
};
sddm.enable = true;
sddm.wayland.enable = (if systemSettings.desktopType == "x11" then false else true);
defaultSession = (if systemSettings.desktopType == "x11" then "plasmax11" else "plasma");
};
services.desktopManager.plasma6.enable = true;
}

5
system/gui/lightdm.nix Normal file
View File

@@ -0,0 +1,5 @@
{ config, lib, pkgs, ... }:
{
services.xserver.displayManager.lightdm.enable = true;
}

View File

@@ -1,8 +1,8 @@
{ config, lib, pkgs, ... }:
{
security.polkit.enable = true;
environment.systemPackages = with pkgs; [
polkit_gnome
arandr
autorandr
];
}

12
system/gui/x11.nix Normal file
View File

@@ -0,0 +1,12 @@
{ config, lib, pkgs, ... }:
{
services.xserver = {
enable = true;
xkb = {
layout = "us";
variant = "";
options = "";
};
};
}

View File

@@ -11,8 +11,4 @@
pulse.enable = true;
jack.enable = true;
};
environment.systemPackages = with pkgs; [
playerctl
pavucontrol
];
}

View File

@@ -1,10 +1,6 @@
{ config, lib, pkgs, ... }:
{
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
};
hardware.bluetooth.enable = true;
services.blueman.enable = true;
}

View File

@@ -4,6 +4,5 @@
imports = [
./firewall.nix
./gpg.nix
./polkit.nix
];
}

View File

@@ -4,6 +4,5 @@
home.packages = (with pkgs; [
blender
obs-studio
freecad
]);
}

View File

@@ -5,6 +5,5 @@
gimp
libsForQt5.kdenlive
ffmpeg
audacity
]);
}

View File

@@ -8,7 +8,5 @@
pocket-casts
spotify
spicetify-cli
ani-cli
calibre
]);
}

View File

@@ -8,6 +8,5 @@
./keyboard-configuration.nix
./passwords.nix
./xdg.nix
./screenshot.nix
];
}

View File

@@ -1,7 +0,0 @@
{ config, lib, pkgs, ... }:
{
home.packages = (with pkgs; [
flameshot
]);
}