misc cleanup preparing for agenix

This commit is contained in:
2023-05-29 20:40:55 -06:00
parent 45c64ea07e
commit c8b521084c
2 changed files with 10 additions and 46 deletions

View File

@@ -3,9 +3,9 @@ let
VERSION = "22.11";
# HOME-MANAGER = builtins.fetchTarball
# "https://github.com/nix-community/home-manager/archive/master.tar.gz";
UNSTABLE_TARBALL = builtins.fetchTarball
unstable_tarball = builtins.fetchTarball
https://github.com/nixos/nixpkgs/tarball/master;
unstable = import UNSTABLE_TARBALL {
unstable = import unstable_tarball {
config = config.nixpkgs.config;
};
nextcloud_scrapsync = pkgs.writeScriptBin
@@ -20,6 +20,7 @@ in
imports = [
./hardware-configuration.nix
<home-manager/nixos>
<agenix/modules/age.nix>
];
networking.hostName = "workstation";
@@ -44,14 +45,11 @@ console = {
services = {
xserver = {
enable = true;
# videoDrivers = [ "nvidia" "modesetting" ];
videoDrivers = [ "nvidia" ];
displayManager.gdm.enable = true;
desktopManager.gnome.enable = true;
# wacom.enable = true;
layout = "us";
libinput.enable = true; # Wacom required?
# useGlamor = true;
};
};
@@ -123,7 +121,7 @@ blender # cgi animation and sculpting
godot # game development
unstable.gdtoolkit # gdscript language server
krita # art to your heart desire!
# drawpile # arty party with friends!!
drawpile # arty party with friends!!
mypaint # not the best art program
mypaint-brushes # but it's got some
mypaint-brushes1 # nice damn brushes
@@ -183,6 +181,7 @@ HentaiAtHome # uh-oh
yt-dlp # downloads videos from most video websites
unstable.gallery-dl # similar to yt-dlp but for most image gallery websites
gdu # disk-space utility, somewhat useful
du-dust # rusty du
gocryptfs # encrypted filesystem! shhh!!!
exa # like ls but with colors
trash-cli # oop! didn't meant to delete that
@@ -198,7 +197,6 @@ xdg-ninja # help declutter $HOME
torrenttools # create torrent files from the terminal!
lm_sensors # for extension, displays cpu temp
# My own scripts
nextcloud_scrapsync
ffmpeg4discord
@@ -315,7 +313,6 @@ home-manager.useUserPackages = true;
home-manager.useGlobalPkgs = true;
home-manager.users.jawz = { config, pkgs, ... }:{
# imports = [ ./dotfiles/dconf.nix ];
home.stateVersion = VERSION;
home.packages = with pkgs; [ ];
@@ -394,7 +391,6 @@ programs = {
bat = {
enable = true;
config = {
# map-syntax = [ "*.jenkinsfile:Groovy" "*.props:Java Properties" ];
pager = "less -FR";
theme = "base16"; };
};
@@ -403,10 +399,6 @@ programs = {
userName = "Danilo Reyes";
userEmail = "CaptainJawZ@outlook.com";
};
# gpg = {
# enable = true;
# homedir = "${config.xdg.dataHome}/gnupg";
# };
htop = {
enable = true;
package = pkgs.htop-vim;
@@ -459,8 +451,6 @@ environment.variables = rec {
XDG_DATA_HOME = "\${HOME}/.local/share";
XDG_STATE_HOME = "\${HOME}/.local/state";
SCRIPTS = "\${HOME}/Development/Scripts";
# DEV PATH
CABAL_CONFIG = "\${XDG_CONFIG_HOME}/cabal/config";
CABAL_DIR = "\${XDG_CACHE_HOME}/cabal";
@@ -564,15 +554,9 @@ services = {
enable = true;
drivers = [ pkgs.hplip pkgs.hplipWithPlugin ];
};
# ipp-usb.enable = true; # usb scanner
avahi.enable = true;
avahi.nssmdns = true;
fstrim.enable = true;
# jellyfin = {
# enable = true;
# group = "jawz";
# user = "jawz";
# };
btrfs.autoScrub = {
enable = true;
fileSystems = [
@@ -581,7 +565,6 @@ services = {
"/mnt/disk2"
];
};
# mediatomb.enable = true;
openssh = {
enable = true;
ports = [ 25152 ];
@@ -689,7 +672,6 @@ systemd.user.services = {
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
networking.firewall.enable = false;
system.copySystemConfiguration = true;