Compare commits

..

No commits in common. "72a10c5ec0db3acb21df125ee1687a8f415dd292" and "137fec122bff1f21d1fd4900804c04293fa6ffc9" have entirely different histories.

8 changed files with 26 additions and 124 deletions

View File

@ -1,24 +1,5 @@
{ {
"nodes": { "nodes": {
"ghettoptt": {
"inputs": {
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1710094054,
"narHash": "sha256-ImjYfn/C39bk1LGxc91JtiE0Gboh1mbwVHzicT++7L8=",
"ref": "master",
"rev": "c3b35cdd2d5b403a52103b90088b11251318ee63",
"revCount": 7,
"type": "git",
"url": "https://git.t-juice.club/torjus/ghettoptt"
},
"original": {
"ref": "master",
"type": "git",
"url": "https://git.t-juice.club/torjus/ghettoptt"
}
},
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -42,27 +23,27 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1709703039, "lastModified": 1709677081,
"narHash": "sha256-6hqgQ8OK6gsMu1VtcGKBxKQInRLHtzulDo9Z5jxHEFY=", "narHash": "sha256-tix36Y7u0rkn6mTm0lA45b45oab2cFLqAzDbJxeXS+c=",
"owner": "NixOS", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "9df3e30ce24fd28c7b3e2de0d986769db5d6225d", "rev": "880992dcc006a5e00dd0591446fdf723e6a51a64",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "nixos",
"ref": "nixos-unstable", "ref": "nixos-23.11",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1710628718, "lastModified": 1709428628,
"narHash": "sha256-y+l3eH53UlENaYa1lmnCBHusZb1kxBEFd2/c7lDsGpw=", "narHash": "sha256-//ZCCnpVai/ShtO2vPjh3AWgo8riXCaret6V9s7Hew4=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "6dc11d9859d6a18ab0c5e5829a5b8e4810658de3", "rev": "66d65cb00b82ffa04ee03347595aa20e41fe3555",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -74,11 +55,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1710631334, "lastModified": 1709703039,
"narHash": "sha256-rL5LSYd85kplL5othxK5lmAtjyMOBg390sGBTb3LRMM=", "narHash": "sha256-6hqgQ8OK6gsMu1VtcGKBxKQInRLHtzulDo9Z5jxHEFY=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c75037bbf9093a2acb617804ee46320d6d1fea5a", "rev": "9df3e30ce24fd28c7b3e2de0d986769db5d6225d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -89,22 +70,6 @@
} }
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": {
"lastModified": 1710565619,
"narHash": "sha256-xu/EnZCNdIj7m/QjCNIG5vrCA4TYg5uwFReb9XDxET0=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "8ac30a39abc5ea67037dfbf090d6e89f187c6e50",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-23.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1709479366, "lastModified": 1709479366,
"narHash": "sha256-n6F0n8UV6lnTZbYPl1A9q1BS0p4hduAv1mGAP17CVd0=", "narHash": "sha256-n6F0n8UV6lnTZbYPl1A9q1BS0p4hduAv1mGAP17CVd0=",
@ -120,13 +85,13 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_4": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1710534455, "lastModified": 1709356872,
"narHash": "sha256-huQT4Xs0y4EeFKn2BTBVYgEwJSv8SDlm82uWgMnCMmI=", "narHash": "sha256-mvxCirJbtkP0cZ6ABdwcgTk0u3bgLoIoEFIoYBvD6+4=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "9af9c1c87ed3e3ed271934cb896e0cdd33dae212", "rev": "458b097d81f90275b3fdf03796f0563844926708",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -138,7 +103,7 @@
}, },
"notlistener": { "notlistener": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_3" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1709780344, "lastModified": 1709780344,
@ -157,9 +122,8 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"ghettoptt": "ghettoptt",
"home-manager": "home-manager", "home-manager": "home-manager",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
"notlistener": "notlistener", "notlistener": "notlistener",
"sops-nix": "sops-nix" "sops-nix": "sops-nix"
@ -167,15 +131,15 @@
}, },
"sops-nix": { "sops-nix": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_4", "nixpkgs": "nixpkgs_3",
"nixpkgs-stable": "nixpkgs-stable" "nixpkgs-stable": "nixpkgs-stable"
}, },
"locked": { "locked": {
"lastModified": 1710644594, "lastModified": 1709711091,
"narHash": "sha256-RquCuzxfy4Nr8DPbdp3D/AsbYep21JgQzG8aMH9jJ4A=", "narHash": "sha256-L0rSIU9IguTG4YqSj4B/02SyTEz55ACq5t8gXpzteYc=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "83b68a0e8c94b72cdd0a6e547a14ca7eb1c03616", "rev": "25dd60fdd08fcacee2567a26ba6b91fe098941dc",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -11,18 +11,9 @@
}; };
sops-nix.url = "github:Mic92/sops-nix"; sops-nix.url = "github:Mic92/sops-nix";
notlistener.url = "git+https://git.t-juice.club/torjus/notlistener?ref=master"; notlistener.url = "git+https://git.t-juice.club/torjus/notlistener?ref=master";
ghettoptt.url = "git+https://git.t-juice.club/torjus/ghettoptt?ref=master";
}; };
outputs = outputs = { self, nixpkgs, nixpkgs-unstable, sops-nix, notlistener, ... }@inputs:
{ self
, nixpkgs
, nixpkgs-unstable
, sops-nix
, notlistener
, ghettoptt
, ...
}@inputs:
let let
system = "x86_64-linux"; system = "x86_64-linux";
user = "torjus"; user = "torjus";
@ -49,13 +40,7 @@
inherit system; inherit system;
specialArgs = { inherit inputs self user sops-nix; }; specialArgs = { inherit inputs self user sops-nix; };
modules = [ modules = [
({ config, pkgs, ... }: { ({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable notlistener.overlays.default ]; })
nixpkgs.overlays = [
overlay-unstable
notlistener.overlays.default
ghettoptt.overlays.default
];
})
./hosts/gunter ./hosts/gunter
sops-nix.nixosModules.sops sops-nix.nixosModules.sops
]; ];

View File

@ -22,7 +22,6 @@
./hyprland ./hyprland
./ssh ./ssh
./services/backup-home.nix ./services/backup-home.nix
./services/ghettoptt.nix
]; ];
firefox.enable = true; firefox.enable = true;
tmux.enable = true; tmux.enable = true;

View File

@ -32,15 +32,7 @@
spotify spotify
spicetify-cli spicetify-cli
sshfs sshfs
unstable.ventoy talosctl
# k8s tools
unstable.talosctl
unstable.k9s
unstable.cilium-cli
unstable.kubernetes-helm
unstable.cmctl
unstable.krew
# steam # steam
# steam-run # steam-run
@ -50,7 +42,6 @@
unzip unzip
yt-dlp yt-dlp
unstable.zoom-us unstable.zoom-us
unstable.vmware-horizon-client
# Editors # Editors
# vscode # vscode
@ -77,6 +68,5 @@
# Homemade shit # Homemade shit
notlistener notlistener
ghettoptt
]; ];
} }

View File

@ -1,23 +1,8 @@
{ pkgs, ... }: { pkgs, ... }: {
# let
# obs-backgroundremoval_1_1_10 = (pkgs.obs-studio-plugins.obs-backgroundremoval.overrideAttrs {
# version = "1.1.10";
# src = pkgs.fetchFromGitHub {
# owner = "occ-ai";
# repo = "obs-backgroundremoval";
# rev = "1.1.10";
# hash = "sha256-6OTtmjXS3fiorEPUSjjqrS8u9fVJnnZZoD722W3JQO8=";
# };
# }).override {
# onnxruntime = pkgs.unstable.onnxruntime;
# };
# in
{
programs.obs-studio = { programs.obs-studio = {
enable = true; enable = true;
plugins = with pkgs.obs-studio-plugins; [ plugins = with pkgs.obs-studio-plugins; [
obs-backgroundremoval obs-backgroundremoval
]; ];
#plugins = [ obs-backgroundremoval_1_1_10 ];
}; };
} }

View File

@ -1,15 +0,0 @@
{ pkgs, config, ... }:
{
systemd.user.services.ghettoptt = {
Unit = {
Description = "Run ghettoptt";
};
Service = {
Type = "simple";
ExecStart = "${pkgs.ghettoptt}/bin/ghettoptt";
};
Install = {
WantedBy = [ "graphical-session.target" ];
};
};
}

View File

@ -17,7 +17,6 @@
autoload -Uz promptinit autoload -Uz promptinit
promptinit promptinit
prompt pure prompt pure
export PATH="''${KREW_ROOT:-$HOME/.krew}/bin:$PATH"
''; '';
zplug = { zplug = {
enable = true; enable = true;

View File

@ -34,11 +34,6 @@
# Networking stuff # Networking stuff
networking.hostName = "gunter"; # Define your hostname. networking.hostName = "gunter"; # Define your hostname.
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
networking.nftables.enable = true;
networking.firewall = {
enable = true;
};
# Set time stuff # Set time stuff
time.timeZone = "Europe/Oslo"; time.timeZone = "Europe/Oslo";