init commit, ly, i3, polybar, neovim, alacritty, NixOS Flakes + Home-Manager

This commit is contained in:
2026-07-16 00:05:44 -06:00
commit d1e1c5b60c
34 changed files with 1395 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
{ config, pkgs, ... }:
{
imports = [
./sudo.nix
./systemd.nix
./users.nix
];
security = {
polkit.enable = true;
rtkit.enable = true;
};
}
+16
View File
@@ -0,0 +1,16 @@
{ config, pkgs, ... }:
{
security.sudo.extraRules = [
{
users = [ "jashton" ];
commands = [
{
command = "/run/current-system/sw/bin/tlp";
options = [ "NOPASSWD" ];
}
];
}
];
}
+19
View File
@@ -0,0 +1,19 @@
{ config, pkgs, ... }:
{
systemd = {
user.services.polkit-gnome-authentication-agent-1 = {
description = "polkit-gnome-authentication-agent-1";
wantedBy = [ "graphical-session.target" ];
wants = [ "graphics-session.target" ];
after = [ "graphics-session.target" ];
serviceConfig = {
Type = "simple";
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
Restart = "on-failure";
RestartSec = 1;
TimeoutStopSec = 10;
};
};
};
}
+9
View File
@@ -0,0 +1,9 @@
{ config, lib, pkgs, ... }:
{
services.fprintd = {
enable = true;
#tod.enable = true;
#tod.driver = pkgs.libfprint-2-tod1-goodix;
};
}
+17
View File
@@ -0,0 +1,17 @@
{ config, pkgs, ... }:
{
users.groups.jashton = {};
users.users.jashton = {
isNormalUser = true;
description = "Josh Ashton";
group = "jashton";
extraGroups = [ "networkmanager" "wheel" ];
shell = pkgs.zsh;
};
users.users.root = {
shell = pkgs.zsh;
};
}