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, ... }:
{
system.stateVersion = "22.11";
system.stateVersion = "23.05";
environment = {
defaultPackages = [];
binsh = "${pkgs.dash}/bin/dash";

View file

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

View file

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

View file

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

View file

@ -48,6 +48,9 @@ let
else kill $u
fi
'';
pastebin = pkgs.writeShellScriptBin "pastebin" ''
curl -F 'clbin=<-' https://clbin.com
'';
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];
}