I dno what im oing
This commit is contained in:
parent
a1780e0f07
commit
7168e4c0c7
35 changed files with 120 additions and 16 deletions
0
system/ooksx1/modules/networking.nix
Normal file
0
system/ooksx1/modules/networking.nix
Normal file
78
system/ooksx1/modules/packages.nix
Normal file
78
system/ooksx1/modules/packages.nix
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
|
||||
{ pkgs, ... }
|
||||
{
|
||||
# System Packages
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
|
||||
environment = {
|
||||
binsh = with pkgs; [ fish ]
|
||||
systemPackages = with pkgs; [
|
||||
# Editor
|
||||
neovim
|
||||
# Utility
|
||||
wget
|
||||
neofetch
|
||||
glib
|
||||
xdg-utils
|
||||
killall
|
||||
zip
|
||||
rar
|
||||
btop
|
||||
p7zip
|
||||
git
|
||||
pciutils
|
||||
gdb
|
||||
dash
|
||||
curl
|
||||
# Programming
|
||||
cargo
|
||||
# Fonts
|
||||
jetbrains-mono
|
||||
# File browsers
|
||||
ranger
|
||||
joshuto
|
||||
# Wayland
|
||||
wayland
|
||||
wayland-scanner
|
||||
wayland-utils
|
||||
egl-wayland
|
||||
wayland-protocols
|
||||
wev # Wayland window debugger
|
||||
wl-clipboard # Wayland clipboard
|
||||
wlr-randr
|
||||
# Firmware
|
||||
linux-firmware
|
||||
# Audio
|
||||
alsa-lib
|
||||
alsa-utils
|
||||
flac
|
||||
pulsemixer
|
||||
# Appearance
|
||||
lxappearance
|
||||
# Screenshot
|
||||
pkgs.sway-contrib.grimshot
|
||||
flameshot
|
||||
grim
|
||||
# Notification
|
||||
dunst
|
||||
libnotify
|
||||
];
|
||||
};
|
||||
|
||||
# Programs
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
|
||||
programs.mtr.enable = true
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enabeSSHSupport = true;
|
||||
};
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
};
|
||||
programs.fish = {
|
||||
enable = true
|
||||
};
|
||||
|
||||
|
||||
46
system/ooksx1/modules/security.nix
Normal file
46
system/ooksx1/modules/security.nix
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
|
||||
|
||||
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
|
||||
{
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
|
||||
security = {
|
||||
rtkit = {
|
||||
enable = true;
|
||||
};
|
||||
polkit = {
|
||||
enable = true;
|
||||
};
|
||||
sudo = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
ooks ALL=(ALL) NOPASSWD:ALL
|
||||
'';
|
||||
}
|
||||
};
|
||||
|
||||
systemd = {
|
||||
user.services.polkit-gnome-authentication-agent-1 = {
|
||||
description = "polkit-gnome-authentication-agent-1";
|
||||
wantedBy = [ "graphical-session.target" ];
|
||||
wants = [ "graphical-session.target" ];
|
||||
after = [ "graphical-session.target" ];
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
|
||||
Restart = "on-failure";
|
||||
RestartSec = 1;
|
||||
TimeoutStopSec = 10;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue