mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 18:30:43 -06:00
formatting
This commit is contained in:
parent
6f00b5f93c
commit
d10d80bcc6
9 changed files with 81 additions and 88 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = with inputs.self.nixosModules; [
|
imports = with inputs.self.nixosModules; [
|
||||||
|
|
||||||
nix-ld
|
nix-ld
|
||||||
virtualbox
|
virtualbox
|
||||||
restic
|
restic
|
||||||
|
|
|
@ -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";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue