mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 11:12:09 +02:00
add nixpkgs-stable
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
17
flake.lock
generated
17
flake.lock
generated
@@ -763,6 +763,22 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs-stable": {
|
||||
"locked": {
|
||||
"lastModified": 1757545623,
|
||||
"narHash": "sha256-mCxPABZ6jRjUQx3bPP4vjA68ETbPLNz9V2pk9tO7pRQ=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "8cd5ce828d5d1d16feff37340171a98fc3bf6526",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-25.05",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_10": {
|
||||
"locked": {
|
||||
"lastModified": 1755027561,
|
||||
@@ -999,6 +1015,7 @@
|
||||
"nixcord": "nixcord",
|
||||
"nixos-hardware": "nixos-hardware",
|
||||
"nixpkgs": "nixpkgs_6",
|
||||
"nixpkgs-stable": "nixpkgs-stable",
|
||||
"nvf": "nvf",
|
||||
"sops-nix": "sops-nix",
|
||||
"spicetify-nix": "spicetify-nix",
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-25.05";
|
||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
||||
hyprpanel.url = "github:Jas-SinghFSU/HyprPanel";
|
||||
@@ -35,7 +36,9 @@
|
||||
modules = [
|
||||
{
|
||||
nixpkgs.overlays = [];
|
||||
_module.args = {inherit inputs;};
|
||||
_module.args = {
|
||||
inherit inputs;
|
||||
};
|
||||
}
|
||||
inputs.nixos-hardware.nixosModules.omen-16-n0005ne # CHANGEME: check https://github.com/NixOS/nixos-hardware
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Tailscale is a VPN service that works on top of WireGuard.
|
||||
# It allows me to access my servers and devices from anywhere.
|
||||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [tailscale tailscale-systray];
|
||||
{inputs, ...}: {
|
||||
home.packages = with inputs.nixpkgs-stable.legacyPackages.x86_64-linux; [tailscale tailscale-systray];
|
||||
|
||||
# wayland.windowManager.hyprland.settings.exec-once = ["${pkgs.tailscale-systray}/bin/tailscale-systray"];
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
../../nixos/sddm.nix
|
||||
../../nixos/users.nix
|
||||
../../nixos/utils.nix
|
||||
# ../../nixos/tailscale.nix # FIXME:
|
||||
../../nixos/tailscale.nix
|
||||
../../nixos/hyprland.nix
|
||||
|
||||
../../nixos/omen.nix # For my laptop only
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
../../home/programs/thunar
|
||||
../../home/programs/lazygit
|
||||
../../home/programs/discord
|
||||
# ../../home/programs/tailscale # FIXME:
|
||||
../../home/programs/tailscale
|
||||
|
||||
# Scripts
|
||||
../../home/scripts # All scripts
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
# Tailscale is a VPN service that makes it easy to connect your devices between each other.
|
||||
{config, ...}: let
|
||||
{
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
username = config.var.username;
|
||||
in {
|
||||
security.sudo.extraRules = [
|
||||
@@ -21,6 +25,7 @@ in {
|
||||
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
package = inputs.nixpkgs-stable.legacyPackages.x86_64-linux.tailscale;
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user