mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
changed stateVersion from 22.11 to 23.05 added a nifty pastebin script
This commit is contained in:
parent
d816248f6b
commit
1c416dc728
5 changed files with 7 additions and 5 deletions
|
|
@ -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";
|
||||||
|
|
|
||||||
|
|
@ -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 = {
|
||||||
|
|
|
||||||
|
|
@ -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" = {
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue