Compare commits

..

No commits in common. "a96bcaf989bbc6215d27ecae7d19b0a2bf7acb68" and "3e0d77b66abad44d852ab55d1678fcaec9f149ed" have entirely different histories.

8 changed files with 17 additions and 36 deletions

View file

@ -4,13 +4,11 @@
imports = [
./cli.nix
./programs/rofi
./programs/xmonad
./services/polybar
./services/dunst
./services/udiskie
./services/picom
./services/screen-locker
./services/blueman-applet
];
home = {

View file

@ -1,12 +0,0 @@
{ config, lib, pkgs, ... }:
{
config.xsession.windowManager.xmonad = {
enable = true;
enableContribAndExtras = true;
config = ./config.hs;
};
# control backlight
config.home.packages = [ pkgs.xorg.xbacklight pkgs.scrot ];
}

View file

@ -1,5 +0,0 @@
{ config, lib, pkgs, ... }:
{
config.services.blueman-applet = { enable = true; };
}

View file

@ -17,7 +17,6 @@ in {
./hardware-configuration.nix
# <nixos-hardware/lenovo/legion/15ich>
../../modules/appimage.nix
../../modules/sudo.nix
../../modules/wm/x.nix
../../modules/wm/xmonad/default.nix
];

View file

@ -12,7 +12,6 @@ in {
inputs.snm.nixosModule
inputs.agenix.nixosModules.age
../../modules/security.nix
../../modules/sudo.nix
../../modules/upgrade-pg-cluster.nix
../../modules/nix-config.nix
../../modules/iohk.nix
@ -111,6 +110,18 @@ in {
defaults.email = "alex@jakalx.net";
};
security.sudo = {
enable = true;
execWheelOnly = true;
extraRules = [{
groups = [ "wheel" ];
commands = [{
command = "/run/current-system/sw/bin/nixos-rebuild";
options = [ "NOPASSWD" ];
}];
}];
};
# Select internationalization properties.
i18n.defaultLocale = "en_US.UTF-8";
console = {

View file

@ -1,15 +0,0 @@
{ config, lib, pkgs, ... }:
{
config.security.sudo = {
enable = true;
execWheelOnly = true;
extraRules = [{
groups = [ "wheel" ];
commands = [{
command = "/run/current-system/sw/bin/nixos-rebuild";
options = [ "NOPASSWD" ];
}];
}];
};
}

View file

@ -8,9 +8,14 @@
windowManager.xmonad = {
enable = true;
enableContribAndExtras = true;
config = ./config.hs;
extraPackages = hp: [ hp.dbus hp.monad-logger hp.xmonad-contrib ];
};
};
};
# control backlight
config.environment.systemPackages = [ pkgs.xorg.xbacklight pkgs.scrot ];
config.systemd.services.upower.enable = true;
}