formatting

This commit is contained in:
Daylin Morgan 2024-01-28 17:39:10 -06:00
parent 6f00b5f93c
commit d10d80bcc6
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F
9 changed files with 81 additions and 88 deletions

View file

@ -6,11 +6,11 @@
... ...
}: { }: {
imports = with inputs.self.nixosModules; [ imports = with inputs.self.nixosModules; [
desktop
nix-ld nix-ld
]; ];
desktop.enable = true;
cli.enable = true;
# Enable the X11 windowing system. # Enable the X11 windowing system.
services.xserver = { services.xserver = {
enable = true; enable = true;
@ -18,12 +18,9 @@
windowManager.qtile.enable = true; windowManager.qtile.enable = true;
}; };
cli.enable = true;
users.users.daylin.extraGroups = ["docker"]; users.users.daylin.extraGroups = ["docker"];
programs.gnupg.agent = { programs.gnupg.agent = {
enable = true; enable = true;
enableSSHSupport = true; enableSSHSupport = true;
}; };
}
}

View file

@ -5,7 +5,6 @@
... ...
}: { }: {
imports = with inputs.self.nixosModules; [ imports = with inputs.self.nixosModules; [
nix-ld nix-ld
virtualbox virtualbox
restic restic

View file

@ -1,4 +1,8 @@
{inputs, lib, ...}: { {
inputs,
lib,
...
}: {
imports = with inputs.self.nixosModules; [ imports = with inputs.self.nixosModules; [
users users
nix nix
@ -27,4 +31,3 @@
options.desktop.enable = lib.mkEnableOption "is desktop"; options.desktop.enable = lib.mkEnableOption "is desktop";
} }

View file

@ -13,5 +13,5 @@ in {
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [
(nerdfonts.override {fonts = ["FiraCode"];}) (nerdfonts.override {fonts = ["FiraCode"];})
]; ];
}; };
} }

View file

@ -26,5 +26,5 @@ in {
proprietaryCodecs = true; proprietaryCodecs = true;
}) })
]; ];
}; };
} }

View file

@ -12,8 +12,6 @@
runtimeInputs = with pkgs; [i3lock-color figlet procps]; runtimeInputs = with pkgs; [i3lock-color figlet procps];
text = builtins.readFile ./lock.sh; text = builtins.readFile ./lock.sh;
}; };
in { in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
@ -32,6 +30,5 @@ in {
ExecStart = "${lock}/bin/lock"; ExecStart = "${lock}/bin/lock";
}; };
}; };
}; };
} }

View file

@ -9,7 +9,6 @@
cfg = config.programs.hyprland; cfg = config.programs.hyprland;
in { in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
security.pam.services.swaylock = {}; security.pam.services.swaylock = {};
programs.hyprland.package = inputs.hyprland.packages.${pkgs.system}.default; programs.hyprland.package = inputs.hyprland.packages.${pkgs.system}.default;
# Optional, hint electron apps to use wayland: # Optional, hint electron apps to use wayland:

View file

@ -9,7 +9,6 @@
cfg = config.services.xserver.windowManager.qtile; cfg = config.services.xserver.windowManager.qtile;
in { in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
brightnessctl brightnessctl
@ -35,7 +34,6 @@ in {
flameshot flameshot
catppuccin-cursors.mochaDark catppuccin-cursors.mochaDark
pavucontrol pavucontrol
]; ];
}; };
} }