399 current 2025-05-22 01:52:54 25.05.20250424.f771eb4 6.12.24 *

This commit is contained in:
2025-05-22 01:53:13 -04:00
parent 89893cfd18
commit 9c8cb0aef4
5 changed files with 91 additions and 234 deletions

View File

@@ -3,14 +3,7 @@
pkgs, pkgs,
lib, lib,
... ...
}: let }: {
pkg_with_working_nitrogen = import (builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/c0c50dfcb70d48e5b79c4ae9f1aa9d339af860b4.tar.gz";
sha256 = "17p3w4mgfr4yj2p0jz6kqgzhyr04h4fap5hnd837664xd1xhwdjb";
}) {inherit (pkgs) system;};
old-nitrogen = pkg_with_working_nitrogen.nitrogen;
in {
# import system, hardware config, and home manager # import system, hardware config, and home manager
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
@@ -70,71 +63,5 @@ in {
# boot.loader.systemd-boot.enable = true; # boot.loader.systemd-boot.enable = true;
# boot.loader.efi.canTouchEfiVariables = true; # boot.loader.efi.canTouchEfiVariables = true;
# boot.loader.grub.enable = false; # boot.loader.grub.enable = false;
users.users.synchronous = {
isNormalUser = true;
description = "jake";
extraGroups = ["networkmanager" "wheel" "docker"];
packages = with pkgs; [
kdePackages.kate
# firefox
git
arandr
procs
htop
zsh
ripgrep
rofi
alacritty
python3
tree
old-nitrogen
polybar
sxhkd
bspwm
# librewolf
eza
flameshot
neofetch
lolcat
nnn
xclip
brightnessctl
xbindkeys
pulseaudio
xorg.xf86inputsynaptics
libnotify # for notify-send
alejandra
discord
legcord
polybar-pulseaudio-control
bluez # polybar
zotero
texliveFull
texlivePackages.latexmk
nmap
procps # for pgrep
# xorg.xrandr
# thunderbird
];
};
environment.systemPackages = with pkgs; [
vim
neovim
linux-manual
man-pages
man-pages-posix
fontconfig
python3
rofi
flameshot
tree
# nitrogen
polybar
sxhkd
bspwm
# librewolf
];
}; };
} }

View File

@@ -3,14 +3,7 @@
pkgs, pkgs,
lib, lib,
... ...
}: let }: {
pkg_with_working_nitrogen = import (builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/c0c50dfcb70d48e5b79c4ae9f1aa9d339af860b4.tar.gz";
sha256 = "17p3w4mgfr4yj2p0jz6kqgzhyr04h4fap5hnd837664xd1xhwdjb";
}) {inherit (pkgs) system;};
old-nitrogen = pkg_with_working_nitrogen.nitrogen;
in {
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
../../system/system.nix ../../system/system.nix
@@ -49,74 +42,5 @@ in {
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.loader.grub.enable = false; boot.loader.grub.enable = false;
# Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true;
users.users.synchronous = {
isNormalUser = true;
description = "jake";
extraGroups = ["networkmanager" "wheel"];
packages = with pkgs; [
kdePackages.kate
# firefox
git
arandr
procs
htop
zsh
ripgrep
rofi
alacritty
python3
tree
old-nitrogen
polybar
sxhkd
bspwm
# librewolf
eza
flameshot
neofetch
lolcat
nnn
xclip
brightnessctl
xbindkeys
pulseaudio
xorg.xf86inputsynaptics
libnotify # for notify-send
alejandra
discord
legcord
polybar-pulseaudio-control
bluez # polybar
zotero
texliveFull
texlivePackages.latexmk
nmap
procps # for pgrep
# xorg.xrandr
# thunderbird
];
};
environment.systemPackages = with pkgs; [
vim
neovim
linux-manual
man-pages
man-pages-posix
fontconfig
python3
rofi
flameshot
tree
# nitrogen
polybar
sxhkd
bspwm
# librewolf
];
}; };
} }

View File

@@ -3,14 +3,7 @@
pkgs, pkgs,
lib, lib,
... ...
}: let }: {
pkg_with_working_nitrogen = import (builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/c0c50dfcb70d48e5b79c4ae9f1aa9d339af860b4.tar.gz";
sha256 = "17p3w4mgfr4yj2p0jz6kqgzhyr04h4fap5hnd837664xd1xhwdjb";
}) {inherit (pkgs) system;};
old-nitrogen = pkg_with_working_nitrogen.nitrogen;
in {
# import system, hardware config, and home manager # import system, hardware config, and home manager
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
@@ -51,71 +44,5 @@ in {
boot.loader.efi.efiSysMountPoint = "/boot"; boot.loader.efi.efiSysMountPoint = "/boot";
services.logind.lidSwitchExternalPower = "ignore"; services.logind.lidSwitchExternalPower = "ignore";
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
users.users.synchronous = {
isNormalUser = true;
description = "jake";
extraGroups = ["networkmanager" "wheel" "docker"];
packages = with pkgs; [
kdePackages.kate
# firefox
git
arandr
procs
htop
zsh
ripgrep
rofi
alacritty
python3
tree
old-nitrogen
polybar
sxhkd
bspwm
# librewolf
eza
flameshot
neofetch
lolcat
nnn
xclip
brightnessctl
xbindkeys
pulseaudio
xorg.xf86inputsynaptics
libnotify # for notify-send
alejandra
discord
legcord
polybar-pulseaudio-control
bluez # polybar
zotero
texliveFull
texlivePackages.latexmk
nmap
procps # for pgrep
# xorg.xrandr
# thunderbird
];
};
environment.systemPackages = with pkgs; [
vim
neovim
linux-manual
man-pages
man-pages-posix
fontconfig
python3
rofi
flameshot
tree
# nitrogen
polybar
sxhkd
bspwm
# librewolf
];
}; };
} }

View File

@@ -3,6 +3,16 @@
pkgs, pkgs,
... ...
}: { }: {
imports = [
# ./wm/bspwm.nix
./xserver/default.nix
./services/services.nix
./fonts/fonts.nix
./hardware/hardware.nix
./networking/default.nix
./users/default.nix
];
# Set your time zone. # Set your time zone.
time.timeZone = "America/New_York"; time.timeZone = "America/New_York";
@@ -116,13 +126,4 @@
# Before changing this value read the documentation for this option # Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "24.11"; # Did you read the comment? system.stateVersion = "24.11"; # Did you read the comment?
imports = [
# ./wm/bspwm.nix
./xserver/default.nix
./services/services.nix
./fonts/fonts.nix
./hardware/hardware.nix
./networking/default.nix
];
} }

78
system/users/default.nix Normal file
View File

@@ -0,0 +1,78 @@
{
config,
pkgs,
...
}: let
pkg_with_working_nitrogen = import (builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/c0c50dfcb70d48e5b79c4ae9f1aa9d339af860b4.tar.gz";
sha256 = "17p3w4mgfr4yj2p0jz6kqgzhyr04h4fap5hnd837664xd1xhwdjb";
}) {inherit (pkgs) system;};
old-nitrogen = pkg_with_working_nitrogen.nitrogen;
in {
users.users.synchronous = {
isNormalUser = true;
description = "jake";
extraGroups = ["networkmanager" "wheel" "docker"];
packages = with pkgs; [
kdePackages.kate
# firefox
git
arandr
procs
htop
zsh
ripgrep
rofi
alacritty
python3
tree
old-nitrogen
polybar
sxhkd
bspwm
# librewolf
eza
flameshot
neofetch
lolcat
nnn
xclip
brightnessctl
xbindkeys
pulseaudio
xorg.xf86inputsynaptics
libnotify # for notify-send
alejandra
discord
legcord
polybar-pulseaudio-control
bluez # polybar
zotero
texliveFull
texlivePackages.latexmk
nmap
procps # for pgrep
# xorg.xrandr
# thunderbird
];
};
environment.systemPackages = with pkgs; [
vim
neovim
linux-manual
man-pages
man-pages-posix
fontconfig
python3
rofi
flameshot
tree
# nitrogen
polybar
sxhkd
bspwm
# librewolf
];
}