printers or something dawg IDK

This commit is contained in:
able 2024-01-24 12:16:52 -06:00
parent 3daf10734f
commit f2ccd681ab
2 changed files with 122 additions and 72 deletions

View file

@ -18,8 +18,12 @@
#grub #grub
}; };
kernelModules = [ "i2c-dev" "i2c-piix4" ]; kernelModules = [ "i2c-dev" "i2c-piix4" ];
extraModulePackages = [
# config.boot.kernelPackages.v4l2loopback
];
}; };
networking = { networking = {
hostName = "nixos"; hostName = "nixos";
networkmanager.enable = true; networkmanager.enable = true;
@ -45,12 +49,15 @@
}; };
services = { services = {
gvfs.enable = true;
# Enable rgb controller # Enable rgb controller
hardware.openrgb.enable = true; hardware.openrgb.enable = true;
# Enable CUPS to print documents. # Enable CUPS to print documents.
# printing.enable = true; printing.enable = true;
# I have a hp envy 4510
printing.drivers = [ pkgs.hplip ];
# Enable sound with pipewire. # Enable sound with pipewire.
pipewire = { pipewire = {
enable = true; enable = true;
@ -113,8 +120,8 @@
#----=[ Fonts ]=----# #----=[ Fonts ]=----#
fonts = { fonts = {
enableDefaultFonts = true; enableDefaultPackages = true;
fonts = with pkgs; [ packages = with pkgs; [
noto-fonts noto-fonts
noto-fonts-cjk noto-fonts-cjk
@ -125,8 +132,6 @@
# }; # };
}; };
users.users.able = { users.users.able = {
openssh.authorizedKeys.keys = [ openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE8hxhhfB2zomqQLw/o3MaFxHIhE9cfmuW55npfwVtOJ able@nixos" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE8hxhhfB2zomqQLw/o3MaFxHIhE9cfmuW55npfwVtOJ able@nixos"
@ -138,22 +143,33 @@
"networkmanager" "networkmanager"
"wheel" "wheel"
"input" "input"
"adbusers"
]; ];
}; };
home-manager.users.able = { pkgs, ... }: { home-manager.users.able = { pkgs, ... }: {
nixpkgs.config.allowUnfree = true; nixpkgs.config = {
nixpkgs.config.permittedInsecurePackages = [ allowUnfree = true;
"electron-12.2.3" permittedInsecurePackages = [
# "electron-12.2.3"
"electron-19.1.9"
"electron-24.8.6"
]; ];
};
# "https://rycee.gitlab.io/home-manager/options.html" # opt-dconf.settings # "https://rycee.gitlab.io/home-manager/options.html" # opt-dconf.settings
imports = [ ./dconf.nix ]; imports = [ ./dconf.nix ];
home.stateVersion = "22.11"; home = {
home.packages = with pkgs; [ stateVersion = "22.11";
packages = with pkgs; [
# Used for sidequest
android-tools
adoptopenjdk-bin adoptopenjdk-bin
appimage-run
bottles bottles
cataclysm-dda cataclysm-dda
cinnamon.nemo cinnamon.nemo
@ -170,7 +186,6 @@
enyo-launcher enyo-launcher
etcher etcher
keepassxc keepassxc
nixfmt nixfmt
prismlauncher prismlauncher
@ -188,6 +203,7 @@
rustup rustup
shattered-pixel-dungeon shattered-pixel-dungeon
sidequest
steam steam
soundux soundux
spotify spotify
@ -200,6 +216,7 @@
vtm # MonoTTY VTM vtm # MonoTTY VTM
]; ];
};
programs.bash = { programs.bash = {
enable = true; enable = true;
@ -356,6 +373,7 @@
enable = true; enable = true;
userName = "able"; userName = "able";
userEmail = "abl3theabove@gmail.com"; userEmail = "abl3theabove@gmail.com";
lfs.enable = true;
signing = { signing = {
key = ""; key = "";
signByDefault = false; signByDefault = false;
@ -366,30 +384,27 @@
# Allow unfree packages # Allow unfree packages
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
programs.adb.enable = true;
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
services.udev.extraRules = '' services.udev.extraRules = ''
SUBSYSTEM=="usb", ATTRS{idVendor}=="0416", ATTRS{idProduct}=="5020", MODE="0666" SUBSYSTEM=="usb", ATTRS{idVendor}=="0416", ATTRS{idProduct}=="5020", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="2833", ATTR{idProduct}=="0186", MODE="0666"
KERNEL=="hidraw*", ATTRS{idVendor}=="0416", ATTRS{idProduct}=="5020", MODE="0666" KERNEL=="hidraw*", ATTRS{idVendor}=="0416", ATTRS{idProduct}=="5020", MODE="0666"
''; '';
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;
# programs.gnupg.agent = {
# enable = true;
# enableSSHSupport = true;
# };
# List services that you want to enable:
xdg.mime.defaultApplications = { xdg.mime.defaultApplications = {
"application/pdf" = "firefox.desktop"; "application/pdf" = "firefox.desktop";
"inode/directory" = [ "nemo.desktop" "code.desktop" ]; "inode/directory" = [ "nemo.desktop" "code.desktop" ];
}; };
services.gvfs.enable = true; environment.systemPackages = with pkgs; [
environment.systemPackages = [ pkgs.cifs-utils ]; linuxKernel.packages.linux_6_1.v4l2loopback
cifs-utils
];
fileSystems."/home/able/Documents/media" = { fileSystems."/home/able/Documents/media" = {
device = "//10.0.0.28/media/"; device = "//10.0.0.28/media/";
fsType = "cifs"; fsType = "cifs";

View file

@ -19,6 +19,14 @@ with lib.hm.gvariant;
startup-view = "page_list"; startup-view = "page_list";
}; };
"org/blueman/general" = {
window-properties = [ 510 350 1477 188 ];
};
"org/blueman/plugins/powermanager" = {
auto-power-on = "@mb false";
};
"org/cinnamon" = { "org/cinnamon" = {
enabled-applets = [ "panel1:left:0:menu@cinnamon.org:0" "panel1:left:1:separator@cinnamon.org:1" "panel1:left:6:grouped-window-list@cinnamon.org:2" "panel1:right:5:systray@cinnamon.org:3" "panel1:right:6:xapp-status@cinnamon.org:4" "panel1:right:7:notifications@cinnamon.org:5" "panel1:right:8:printers@cinnamon.org:6" "panel1:right:9:removable-drives@cinnamon.org:7" "panel1:right:10:keyboard@cinnamon.org:8" "panel1:right:11:favorites@cinnamon.org:9" "panel1:right:12:network@cinnamon.org:10" "panel1:right:13:sound@cinnamon.org:11" "panel1:right:14:power@cinnamon.org:12" "panel1:right:15:calendar@cinnamon.org:13" "panel1:right:16:cornerbar@cinnamon.org:14" "panel1:left:2:kilotime@ablecorp.us:15" "panel1:left:3:separator@cinnamon.org:16" "panel1:left:4:betterlock:17" "panel1:right:1:separator@cinnamon.org:18" "panel1:left:5:separator@cinnamon.org:19" ]; enabled-applets = [ "panel1:left:0:menu@cinnamon.org:0" "panel1:left:1:separator@cinnamon.org:1" "panel1:left:6:grouped-window-list@cinnamon.org:2" "panel1:right:5:systray@cinnamon.org:3" "panel1:right:6:xapp-status@cinnamon.org:4" "panel1:right:7:notifications@cinnamon.org:5" "panel1:right:8:printers@cinnamon.org:6" "panel1:right:9:removable-drives@cinnamon.org:7" "panel1:right:10:keyboard@cinnamon.org:8" "panel1:right:11:favorites@cinnamon.org:9" "panel1:right:12:network@cinnamon.org:10" "panel1:right:13:sound@cinnamon.org:11" "panel1:right:14:power@cinnamon.org:12" "panel1:right:15:calendar@cinnamon.org:13" "panel1:right:16:cornerbar@cinnamon.org:14" "panel1:left:2:kilotime@ablecorp.us:15" "panel1:left:3:separator@cinnamon.org:16" "panel1:left:4:betterlock:17" "panel1:right:1:separator@cinnamon.org:18" "panel1:left:5:separator@cinnamon.org:19" ];
next-applet-id = 20; next-applet-id = 20;
@ -67,11 +75,14 @@ with lib.hm.gvariant;
}; };
"org/cinnamon/desktop/keybindings/media-keys" = { "org/cinnamon/desktop/keybindings/media-keys" = {
screenshot = [ ]; screenshot = [];
}; };
"org/cinnamon/desktop/media-handling" = { "org/cinnamon/desktop/media-handling" = {
autorun-never = false; autorun-never = false;
autorun-x-content-ignore = [];
autorun-x-content-open-folder = [];
autorun-x-content-start-app = [ "x-content/unix-software" ];
}; };
"org/cinnamon/desktop/notifications" = { "org/cinnamon/desktop/notifications" = {
@ -101,7 +112,7 @@ with lib.hm.gvariant;
"org/cinnamon/desktop/wm/preferences" = { "org/cinnamon/desktop/wm/preferences" = {
num-workspaces = 4; num-workspaces = 4;
titlebar-font = "Noto Sans 10"; titlebar-font = "Noto Sans 10";
workspace-names = [ ]; workspace-names = [];
}; };
"org/cinnamon/settings-daemon/peripherals/keyboard" = { "org/cinnamon/settings-daemon/peripherals/keyboard" = {
@ -144,6 +155,25 @@ with lib.hm.gvariant;
migrated = true; migrated = true;
}; };
"org/gnome/file-roller/dialogs/extract" = {
recreate-folders = true;
skip-newer = false;
};
"org/gnome/file-roller/listing" = {
list-mode = "as-folder";
name-column-width = 313;
show-path = false;
sort-method = "name";
sort-type = "ascending";
};
"org/gnome/file-roller/ui" = {
sidebar-width = 200;
window-height = 480;
window-width = 909;
};
"org/gnome/pomodoro/preferences" = { "org/gnome/pomodoro/preferences" = {
pomodoro-duration = 1500.0; pomodoro-duration = 1500.0;
}; };
@ -166,7 +196,7 @@ with lib.hm.gvariant;
"org/gtk/gtk4/settings/file-chooser" = { "org/gtk/gtk4/settings/file-chooser" = {
date-format = "regular"; date-format = "regular";
location-mode = "path-bar"; location-mode = "path-bar";
show-hidden = false; show-hidden = true;
show-size-column = true; show-size-column = true;
show-type-column = true; show-type-column = true;
sidebar-width = 140; sidebar-width = 140;
@ -175,19 +205,19 @@ with lib.hm.gvariant;
sort-order = "ascending"; sort-order = "ascending";
type-format = "category"; type-format = "category";
view-type = "list"; view-type = "list";
window-size = mkTuple [ 815 385 ]; window-size = mkTuple [ 815 771 ];
}; };
"org/gtk/settings/file-chooser" = { "org/gtk/settings/file-chooser" = {
date-format = "regular"; date-format = "regular";
location-mode = "path-bar"; location-mode = "path-bar";
show-hidden = false; show-hidden = true;
show-size-column = true; show-size-column = true;
show-type-column = true; show-type-column = true;
sidebar-width = 150; sidebar-width = 152;
sort-column = "name"; sort-column = "modified";
sort-directories-first = true; sort-directories-first = true;
sort-order = "ascending"; sort-order = "descending";
type-format = "category"; type-format = "category";
window-position = mkTuple [ 1612 40 ]; window-position = mkTuple [ 1612 40 ];
window-size = mkTuple [ 1096 823 ]; window-size = mkTuple [ 1096 823 ];
@ -195,6 +225,7 @@ with lib.hm.gvariant;
"org/nemo/desktop" = { "org/nemo/desktop" = {
font = "Noto Sans 10"; font = "Noto Sans 10";
volumes-visible = false;
}; };
"org/nemo/preferences" = { "org/nemo/preferences" = {
@ -204,8 +235,8 @@ with lib.hm.gvariant;
"org/nemo/window-state" = { "org/nemo/window-state" = {
bookmarks-expanded = true; bookmarks-expanded = true;
geometry = "800x550+3015+86"; geometry = "800x550+1490+90";
maximized = false; maximized = true;
network-expanded = true; network-expanded = true;
sidebar-bookmark-breakpoint = 0; sidebar-bookmark-breakpoint = 0;
sidebar-width = 249; sidebar-width = 249;
@ -236,14 +267,14 @@ with lib.hm.gvariant;
"org/x/pix/browser" = { "org/x/pix/browser" = {
filterbar-visible = true; filterbar-visible = true;
maximized = false; maximized = true;
properties-visible = true; properties-visible = true;
show-thumbnails = true; show-thumbnails = true;
sort-inverse = false; sort-inverse = false;
sort-type = "file::mtime"; sort-type = "file::mtime";
startup-current-file = "file://~/Pictures/Screenshot%20from%202023-06-11%2018-41-42.png"; startup-current-file = "file://~/Documents/media/Art/MIT/Rei/evildice.GIF";
startup-location = "file://~/Pictures"; startup-location = "file://~/Documents/media/Art/MIT/Rei";
thumbnail-list-size = 126; thumbnail-list-size = 128;
viewer-sidebar = "hidden"; viewer-sidebar = "hidden";
}; };
@ -269,6 +300,10 @@ with lib.hm.gvariant;
subtitle-encoding = "UTF-8"; subtitle-encoding = "UTF-8";
}; };
"org/x/reader/default" = {
window-ratio = mkTuple [ 2.352941 1.039141 ];
};
"org/x/viewer/window" = { "org/x/viewer/window" = {
maximized = true; maximized = true;
}; };