Compare commits

...

4 commits

Author SHA1 Message Date
vorboyvo 1bead18e2a Addressed a bunch of evaluation warnings. 2026-04-28 11:55:26 -04:00
vorboyvo 29d6da95d8 Added butterfly. 2026-04-28 11:54:59 -04:00
vorboyvo cd0bbe3e19 Did printing and scanning stuff. 2026-04-23 17:33:58 -04:00
vorboyvo eccf72a68f Changed background pfp. 2026-03-22 21:13:25 -04:00
8 changed files with 49 additions and 24 deletions

BIN
extra/nga_ceiling.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 MiB

View file

@ -9,6 +9,7 @@
./hardware-configuration.nix ./hardware-configuration.nix
../../snippets/samba.nix ../../snippets/samba.nix
../../snippets/lix.nix ../../snippets/lix.nix
../../snippets/scanning.nix
]; ];
################################################ ################################################
@ -66,8 +67,10 @@
services.resolved = { services.resolved = {
enable = true; enable = true;
# dnssec = "true"; # dnssec = "true";
domains = [ "~." ]; settings.Resolve = {
fallbackDns = [ "9.9.9.9" "149.112.112.112" ]; Domains = [ "~." ];
FallbackDns = [ "9.9.9.9" "149.112.112.112" ];
};
}; };
# Set your time zone. # Set your time zone.
@ -104,11 +107,12 @@
################################### ###################################
# Set login and power management options # Set login and power management options
services.logind.lidSwitch = "suspend"; services.logind.settings.Login = {
services.logind.lidSwitchDocked = HandleLidSwitch = "suspend";
"ignore"; # when an external monitor is plugged in HandleLidSwitchDocked = "ignore"; # if external monitor connected
services.logind.powerKey = "ignore"; # handle this WM side HandlePowerKey = "ignore"; # handle this WM side
services.logind.powerKeyLongPress = "poweroff"; HandlePowerKeyLongPress = "poweroff";
};
# Enable graphics. # Enable graphics.
hardware.graphics.enable = true; hardware.graphics.enable = true;
@ -126,7 +130,17 @@
# }); # });
# Enable CUPS to print documents. # Enable CUPS to print documents.
services.printing.enable = true; services.printing = {
enable = true;
drivers = with pkgs; [
cups-filters
# driverless
ghostscript
colord
];
logLevel = "debug";
};
# services.printing.enable = false;
# Enable SANE for scanning. # Enable SANE for scanning.
# hardware.sane = { # hardware.sane = {
@ -139,7 +153,7 @@
# Enable sound. # Enable sound.
security.rtkit.enable = true; # needed for pipewire security.rtkit.enable = true; # needed for pipewire
hardware.pulseaudio.enable = false; services.pulseaudio.enable = false;
services.pipewire = { services.pipewire = {
enable = true; enable = true;
alsa.enable = true; alsa.enable = true;
@ -187,8 +201,7 @@
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# neovim tuigreet
greetd.tuigreet
ntfs3g ntfs3g
android-tools android-tools
kakoune kakoune
@ -201,7 +214,7 @@
enable = true; enable = true;
settings = { settings = {
default_session = { default_session = {
command = "${pkgs.lib.getExe pkgs.greetd.tuigreet} --cmd 'zsh -c sway'"; command = "${pkgs.lib.getExe pkgs.tuigreet} --cmd 'zsh -c sway'";
}; };
}; };
}; };

View file

@ -91,6 +91,7 @@
darktable darktable
gthumb gthumb
anki anki
butterfly
] ++ # Selection of graphical apps ] ++ # Selection of graphical apps
[ [
prismlauncher prismlauncher

View file

@ -52,7 +52,7 @@
urls = [{ urls = [{
template = "https://nixos.wiki/index.php?search={searchTerms}"; template = "https://nixos.wiki/index.php?search={searchTerms}";
}]; }];
iconUpdateURL = "https://nixos.wiki/favicon.png"; icon = "https://nixos.wiki/favicon.png";
updateInterval = 24 * 60 * 60 * 1000; # every day updateInterval = 24 * 60 * 60 * 1000; # every day
definedAliases = [ "@nw" ]; definedAliases = [ "@nw" ];
}; };
@ -73,7 +73,7 @@
template = template =
"https://wiki.archlinux.org/index.php?search={searchTerms}"; "https://wiki.archlinux.org/index.php?search={searchTerms}";
}]; }];
iconUpdateURL = "https://wiki.archlinux.org/favicon.ico"; icon = "https://wiki.archlinux.org/favicon.ico";
definedAliases = [ "@aw" ]; definedAliases = [ "@aw" ];
}; };
"GeoGuessr Join" = { "GeoGuessr Join" = {

View file

@ -2,9 +2,11 @@
programs.git = { programs.git = {
enable = true; enable = true;
userName = "vorboyvo"; settings = {
userEmail = "mrsirofvibe@outlook.com"; user = {
extraConfig = { name = "vorboyvo";
email = "vorboyvo@vorboyvo.com";
};
init.defaultBranch = "main"; init.defaultBranch = "main";
core.editor = "kak"; core.editor = "kak";
merge.tool = "kakmerge"; merge.tool = "kakmerge";

10
snippets/scanning.nix Normal file
View file

@ -0,0 +1,10 @@
# for configuration.nix
{ config, lib, pkgs, ... }:
{
hardware.sane = {
enable = true;
extraBackends = [ pkgs.sane-airscan pkgs.epkowa ];
};
environment.systemPackages = with pkgs; [ naps2 ];
}

View file

@ -8,7 +8,7 @@ let
mod = "Mod4"; mod = "Mod4";
shutdownMenu = pkgs.writeShellScript "shutdownmenu" shutdownMenu = pkgs.writeShellScript "shutdownmenu"
(builtins.readFile "${scripts}/shutdownmenu.sh"); (builtins.readFile "${scripts}/shutdownmenu.sh");
backgroundImage = "${extra}/kuwaitboat.jpg"; backgroundImage = "${extra}/nga_ceiling.jpg";
multiTouchGesturesConfig = '' multiTouchGesturesConfig = ''
bindgesture swipe:4:up focus parent bindgesture swipe:4:up focus parent
bindgesture swipe:4:left workspace prev bindgesture swipe:4:left workspace prev
@ -151,10 +151,9 @@ in {
}; };
services.swayidle = { services.swayidle = {
enable = true; enable = true;
events = [{ events = {
event = "before-sleep"; before-sleep = "${pkgs.lib.getExe pkgs.swaylock} -f";
command = "${pkgs.lib.getExe pkgs.swaylock} -f"; };
}];
}; };
programs.rofi = { programs.rofi = {

View file

@ -1,9 +1,9 @@
{ pkgs, ... }: { { ... }: {
# Enabling bash from home-manager means environment variables set by HM get set correctly # Enabling bash from home-manager means environment variables set by HM get set correctly
# Worst case, fallback to bash. # Worst case, fallback to bash.
programs.zsh = { programs.zsh = {
enable = true; enable = true;
initExtra = '' initContent = ''
# Set prompt # Set prompt
# PS1='%(?..[%?] )%B%F{green}[%n@%m %~]%(!.#.$)%f%b ' # PS1='%(?..[%?] )%B%F{green}[%n@%m %~]%(!.#.$)%f%b '
''; '';