changed stateVersion from 22.11 to 23.05 added a nifty pastebin script

This commit is contained in:
ISnortPennies 2023-01-19 12:21:28 -05:00
parent d816248f6b
commit 1c416dc728
5 changed files with 7 additions and 5 deletions

View file

@ -1,6 +1,6 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
system.stateVersion = "22.11"; system.stateVersion = "23.05";
environment = { environment = {
defaultPackages = []; defaultPackages = [];
binsh = "${pkgs.dash}/bin/dash"; binsh = "${pkgs.dash}/bin/dash";

View file

@ -1,5 +1,4 @@
{ {
description = "my personal configurations";
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
home-manager = { home-manager = {

View file

@ -16,7 +16,7 @@
home = { home = {
username = "gerg"; username = "gerg";
homeDirectory = "/home/gerg"; homeDirectory = "/home/gerg";
stateVersion = "22.11"; stateVersion = "23.05";
file = { file = {
".background-image".source = ../images/nix-stars.png; ".background-image".source = ../images/nix-stars.png;
".config" = { ".config" = {

View file

@ -9,7 +9,7 @@
home = { home = {
username = "root"; username = "root";
homeDirectory = "/root"; homeDirectory = "/root";
stateVersion = "22.11"; stateVersion = "23.05";
file = { file = {
".config/neofetch/config.conf" = { ".config/neofetch/config.conf" = {
source = ./config/neofetch/config.conf; source = ./config/neofetch/config.conf;

View file

@ -48,6 +48,9 @@ let
else kill $u else kill $u
fi fi
''; '';
pastebin = pkgs.writeShellScriptBin "pastebin" ''
curl -F 'clbin=<-' https://clbin.com
'';
in { in {
environment.systemPackages = [ update-system clean-store apply-user apply-system polybar-tray full-upgrade]; environment.systemPackages = [ update-system clean-store apply-user apply-system polybar-tray full-upgrade pastebin];
} }