Compare commits
4 Commits
2ec9230a0a
...
e8f01d585c
Author | SHA1 | Date | |
---|---|---|---|
|
e8f01d585c | ||
|
f04575f44b | ||
|
cb9150aa12 | ||
|
28e2523bad |
@@ -3,5 +3,6 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./fonts.nix
|
./fonts.nix
|
||||||
|
./utilities.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@@ -3,23 +3,14 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./default.nix
|
./default.nix
|
||||||
|
./lightdm.nix
|
||||||
|
./x11.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
services.xserver = {
|
services.xserver.windowManager.dwm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
xkb = {
|
|
||||||
layout = "us";
|
|
||||||
variant = "";
|
|
||||||
options = "";
|
|
||||||
};
|
|
||||||
|
|
||||||
windowManager.dwm = {
|
|
||||||
enable = true;
|
|
||||||
|
|
||||||
package = pkgs.dwm.overrideAttrs {
|
package = pkgs.dwm.overrideAttrs {
|
||||||
src = (/home + "/${userSettings.username}" + /.config/dwm-flexipatch);
|
src = (/home + "/${userSettings.username}" + /.config/dwm-flexipatch);
|
||||||
|
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
xorg.libX11.dev
|
xorg.libX11.dev
|
||||||
xorg.libXinerama
|
xorg.libXinerama
|
||||||
@@ -32,18 +23,9 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
displayManager = {
|
services.xserver.displayManager.defaultSession = "none+dwm";
|
||||||
defaultSession = "none+dwm";
|
|
||||||
lightdm.enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services.picom.enable = true;
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
arandr
|
|
||||||
autorandr
|
|
||||||
unclutter-xfixes
|
|
||||||
(polybar.overrideAttrs (finalAttrs: previousAttrs: {
|
(polybar.overrideAttrs (finalAttrs: previousAttrs: {
|
||||||
pname = previousAttrs.pname + "-dwm-module";
|
pname = previousAttrs.pname + "-dwm-module";
|
||||||
version = "3.5.2";
|
version = "3.5.2";
|
||||||
@@ -57,7 +39,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = previousAttrs.buildInputs ++ [
|
buildInputs = previousAttrs.buildInputs ++ [
|
||||||
jsoncpp
|
pkgs.jsoncpp
|
||||||
];
|
];
|
||||||
}))
|
}))
|
||||||
];
|
];
|
||||||
|
@@ -6,10 +6,5 @@
|
|||||||
powerline
|
powerline
|
||||||
font-awesome
|
font-awesome
|
||||||
ubuntu_font_family
|
ubuntu_font_family
|
||||||
(nerdfonts.override {
|
|
||||||
fonts = [
|
|
||||||
"FiraCode"
|
|
||||||
];
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@@ -3,14 +3,12 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./default.nix
|
./default.nix
|
||||||
|
(if systemSettings.desktopType == "x11" then ./x11.nix else "")
|
||||||
];
|
];
|
||||||
|
|
||||||
services.xserver = {
|
services.xserver.displayManager.gdm = {
|
||||||
displayManager.gdm = {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
wayland = (if systemSettings.desktopType == "x11" then false else true);
|
wayland = (if systemSettings.desktopType == "x11" then false else true);
|
||||||
};
|
};
|
||||||
|
services.xserver.desktopManager.gnome.enable = true;
|
||||||
desktopManager.gnome.enable = true;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
@@ -3,16 +3,13 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./default.nix
|
./default.nix
|
||||||
|
(if systemSettings.desktopType == "x11" then ./x11.nix else "")
|
||||||
];
|
];
|
||||||
|
|
||||||
services.xserver.displayManager = {
|
services.xserver.displayManager = {
|
||||||
sddm = {
|
sddm.enable = true;
|
||||||
enable = true;
|
sddm.wayland.enable = (if systemSettings.desktopType == "x11" then false else 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;
|
||||||
}
|
}
|
||||||
|
5
system/gui/lightdm.nix
Normal file
5
system/gui/lightdm.nix
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.xserver.displayManager.lightdm.enable = true;
|
||||||
|
}
|
@@ -1,8 +1,8 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
security.polkit.enable = true;
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
polkit_gnome
|
arandr
|
||||||
|
autorandr
|
||||||
];
|
];
|
||||||
}
|
}
|
12
system/gui/x11.nix
Normal file
12
system/gui/x11.nix
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.xserver = {
|
||||||
|
enable = true;
|
||||||
|
xkb = {
|
||||||
|
layout = "us";
|
||||||
|
variant = "";
|
||||||
|
options = "";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@@ -11,8 +11,4 @@
|
|||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
jack.enable = true;
|
jack.enable = true;
|
||||||
};
|
};
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
playerctl
|
|
||||||
pavucontrol
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
@@ -1,10 +1,6 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
hardware.bluetooth = {
|
hardware.bluetooth.enable = true;
|
||||||
enable = true;
|
|
||||||
powerOnBoot = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
services.blueman.enable = true;
|
services.blueman.enable = true;
|
||||||
}
|
}
|
||||||
|
@@ -4,6 +4,5 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./firewall.nix
|
./firewall.nix
|
||||||
./gpg.nix
|
./gpg.nix
|
||||||
./polkit.nix
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@@ -4,6 +4,5 @@
|
|||||||
home.packages = (with pkgs; [
|
home.packages = (with pkgs; [
|
||||||
blender
|
blender
|
||||||
obs-studio
|
obs-studio
|
||||||
freecad
|
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
@@ -5,6 +5,5 @@
|
|||||||
gimp
|
gimp
|
||||||
libsForQt5.kdenlive
|
libsForQt5.kdenlive
|
||||||
ffmpeg
|
ffmpeg
|
||||||
audacity
|
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
@@ -8,7 +8,5 @@
|
|||||||
pocket-casts
|
pocket-casts
|
||||||
spotify
|
spotify
|
||||||
spicetify-cli
|
spicetify-cli
|
||||||
ani-cli
|
|
||||||
calibre
|
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
@@ -8,6 +8,5 @@
|
|||||||
./keyboard-configuration.nix
|
./keyboard-configuration.nix
|
||||||
./passwords.nix
|
./passwords.nix
|
||||||
./xdg.nix
|
./xdg.nix
|
||||||
./screenshot.nix
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@@ -1,7 +0,0 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
home.packages = (with pkgs; [
|
|
||||||
flameshot
|
|
||||||
]);
|
|
||||||
}
|
|
Reference in New Issue
Block a user