Gui Reorg and More Programs
- Gui config reorganization - Enable picom for dwm - Install some utilities like arandr, autorandr, and unclutter-xfixes for dwm - Add nerdfonts for FiraCode - Remove conditional imports list syntax - Add audio tools like playerctl and pavucontrol - Enable polkit and add GNOME polkit - Add more media programs like freecad, audacity, ani-cli, and calibre - Add flameshot
This commit is contained in:
@@ -3,6 +3,5 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./fonts.nix
|
./fonts.nix
|
||||||
./utilities.nix
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@@ -3,25 +3,46 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./default.nix
|
./default.nix
|
||||||
./lightdm.nix
|
|
||||||
./x11.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
services.xserver.windowManager.dwm = {
|
services.xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.dwm.overrideAttrs {
|
|
||||||
src = (/home + "/${userSettings.username}" + /.config/dwm-flexipatch);
|
xkb = {
|
||||||
buildInputs = with pkgs; [
|
layout = "us";
|
||||||
xorg.libX11.dev
|
variant = "";
|
||||||
xorg.libXinerama
|
options = "";
|
||||||
xorg.libXft
|
};
|
||||||
xorg.libxcb
|
|
||||||
xorg.xcbutil
|
windowManager.dwm = {
|
||||||
yajl
|
enable = true;
|
||||||
jsoncpp
|
|
||||||
];
|
package = pkgs.dwm.overrideAttrs {
|
||||||
|
src = (/home + "/${userSettings.username}" + /.config/dwm-flexipatch);
|
||||||
|
|
||||||
|
buildInputs = with pkgs; [
|
||||||
|
xorg.libX11.dev
|
||||||
|
xorg.libXinerama
|
||||||
|
xorg.libXft
|
||||||
|
xorg.libxcb
|
||||||
|
xorg.xcbutil
|
||||||
|
yajl
|
||||||
|
jsoncpp
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
displayManager = {
|
||||||
|
defaultSession = "none+dwm";
|
||||||
|
lightdm.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.xserver.displayManager.defaultSession = "none+dwm";
|
services.picom.enable = true;
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
arandr
|
||||||
|
autorandr
|
||||||
|
unclutter-xfixes
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
@@ -6,5 +6,10 @@
|
|||||||
powerline
|
powerline
|
||||||
font-awesome
|
font-awesome
|
||||||
ubuntu_font_family
|
ubuntu_font_family
|
||||||
|
(nerdfonts.override {
|
||||||
|
fonts = [
|
||||||
|
"FiraCode"
|
||||||
|
];
|
||||||
|
})
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@@ -3,12 +3,14 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./default.nix
|
./default.nix
|
||||||
(if systemSettings.desktopType == "x11" then ./x11.nix else "")
|
|
||||||
];
|
];
|
||||||
|
|
||||||
services.xserver.displayManager.gdm = {
|
services.xserver = {
|
||||||
enable = true;
|
displayManager.gdm = {
|
||||||
wayland = (if systemSettings.desktopType == "x11" then false else true);
|
enable = true;
|
||||||
|
wayland = (if systemSettings.desktopType == "x11" then false else true);
|
||||||
|
};
|
||||||
|
|
||||||
|
desktopManager.gnome.enable = true;
|
||||||
};
|
};
|
||||||
services.xserver.desktopManager.gnome.enable = true;
|
|
||||||
}
|
}
|
||||||
|
@@ -3,13 +3,16 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./default.nix
|
./default.nix
|
||||||
(if systemSettings.desktopType == "x11" then ./x11.nix else "")
|
|
||||||
];
|
];
|
||||||
|
|
||||||
services.xserver.displayManager = {
|
services.xserver.displayManager = {
|
||||||
sddm.enable = true;
|
sddm = {
|
||||||
sddm.wayland.enable = (if systemSettings.desktopType == "x11" then false else true);
|
enable = true;
|
||||||
|
wayland.enable = (if systemSettings.desktopType == "x11" then false else true);
|
||||||
|
};
|
||||||
|
|
||||||
defaultSession = (if systemSettings.desktopType == "x11" then "plasmax11" else "plasma");
|
defaultSession = (if systemSettings.desktopType == "x11" then "plasmax11" else "plasma");
|
||||||
};
|
};
|
||||||
|
|
||||||
services.desktopManager.plasma6.enable = true;
|
services.desktopManager.plasma6.enable = true;
|
||||||
}
|
}
|
||||||
|
@@ -1,5 +0,0 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
services.xserver.displayManager.lightdm.enable = true;
|
|
||||||
}
|
|
@@ -1,12 +0,0 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
services.xserver = {
|
|
||||||
enable = true;
|
|
||||||
xkb = {
|
|
||||||
layout = "us";
|
|
||||||
variant = "";
|
|
||||||
options = "";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
@@ -11,4 +11,8 @@
|
|||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
jack.enable = true;
|
jack.enable = true;
|
||||||
};
|
};
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
playerctl
|
||||||
|
pavucontrol
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,10 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth = {
|
||||||
|
enable = true;
|
||||||
|
powerOnBoot = true;
|
||||||
|
};
|
||||||
|
|
||||||
services.blueman.enable = true;
|
services.blueman.enable = true;
|
||||||
}
|
}
|
||||||
|
@@ -4,5 +4,6 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./firewall.nix
|
./firewall.nix
|
||||||
./gpg.nix
|
./gpg.nix
|
||||||
|
./polkit.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@@ -1,8 +1,8 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
security.polkit.enable = true;
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
arandr
|
polkit_gnome
|
||||||
autorandr
|
|
||||||
];
|
];
|
||||||
}
|
}
|
@@ -4,5 +4,6 @@
|
|||||||
home.packages = (with pkgs; [
|
home.packages = (with pkgs; [
|
||||||
blender
|
blender
|
||||||
obs-studio
|
obs-studio
|
||||||
|
freecad
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
@@ -5,5 +5,6 @@
|
|||||||
gimp
|
gimp
|
||||||
libsForQt5.kdenlive
|
libsForQt5.kdenlive
|
||||||
ffmpeg
|
ffmpeg
|
||||||
|
audacity
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
@@ -8,5 +8,7 @@
|
|||||||
pocket-casts
|
pocket-casts
|
||||||
spotify
|
spotify
|
||||||
spicetify-cli
|
spicetify-cli
|
||||||
|
ani-cli
|
||||||
|
calibre
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
@@ -8,5 +8,6 @@
|
|||||||
./keyboard-configuration.nix
|
./keyboard-configuration.nix
|
||||||
./passwords.nix
|
./passwords.nix
|
||||||
./xdg.nix
|
./xdg.nix
|
||||||
|
./screenshot.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
7
user/utilities/screenshot.nix
Normal file
7
user/utilities/screenshot.nix
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
home.packages = (with pkgs; [
|
||||||
|
flameshot
|
||||||
|
]);
|
||||||
|
}
|
Reference in New Issue
Block a user