Compare commits
No commits in common. "a96bcaf989bbc6215d27ecae7d19b0a2bf7acb68" and "3e0d77b66abad44d852ab55d1678fcaec9f149ed" have entirely different histories.
a96bcaf989
...
3e0d77b66a
8 changed files with 17 additions and 36 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -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 ];
|
||||
}
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
config.services.blueman-applet = { enable = true; };
|
||||
}
|
||||
|
|
@ -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
|
||||
];
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -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" ];
|
||||
}];
|
||||
}];
|
||||
};
|
||||
}
|
||||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue