Compare commits

..

No commits in common. "6a19220faefd4e2f17ffc7d892bf55258b71e57d" and "c1d9780afbcddd3b04c6ead01b0fe51a8700e2fc" have entirely different histories.

4 changed files with 47 additions and 132 deletions

View file

@ -2,6 +2,12 @@
"nodes": {
"devshell": {
"inputs": {
"flake-utils": [
"neve",
"nixvim",
"nuschtosSearch",
"flake-utils"
],
"nixpkgs": [
"neve",
"nixvim",
@ -9,11 +15,11 @@
]
},
"locked": {
"lastModified": 1722113426,
"narHash": "sha256-Yo/3loq572A8Su6aY5GP56knpuKYRvM2a1meP9oJZCw=",
"lastModified": 1721902368,
"narHash": "sha256-noQ5SghRPe0jzQEbFQb3fYbV6LZEzr7lIRQoxlU7fyI=",
"owner": "numtide",
"repo": "devshell",
"rev": "67cce7359e4cd3c45296fb4aaf6a19e2a9c757ae",
"rev": "cf8c7405479cfde7ea4dc815e195391d2328df10",
"type": "github"
},
"original": {
@ -45,11 +51,11 @@
]
},
"locked": {
"lastModified": 1722555600,
"narHash": "sha256-XOQkdLafnb/p9ij77byFQjDf5m5QYl9b2REiVClC+x4=",
"lastModified": 1719994518,
"narHash": "sha256-pQMhCCHyQGRzdfAkdJ4cIWiw+JNuWsTX7f0ZYSyz0VY=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "8471fe90ad337a8074e957b69ca4d0089218391d",
"rev": "9227223f6d922fee3c7b190b2cc238a99527bbb7",
"type": "github"
},
"original": {
@ -94,24 +100,6 @@
"type": "github"
}
},
"flake-utils_3": {
"inputs": {
"systems": "systems_3"
},
"locked": {
"lastModified": 1710146030,
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"git-hooks": {
"inputs": {
"flake-compat": [
@ -132,11 +120,11 @@
]
},
"locked": {
"lastModified": 1723803910,
"narHash": "sha256-yezvUuFiEnCFbGuwj/bQcqg7RykIEqudOy/RBrId0pc=",
"lastModified": 1721042469,
"narHash": "sha256-6FPUl7HVtvRHCCBQne7Ylp4p+dpP3P/OYuzjztZ4s70=",
"owner": "cachix",
"repo": "git-hooks.nix",
"rev": "bfef0ada09e2c8ac55bbcd0831bd0c9d42e651ba",
"rev": "f451c19376071a90d8c58ab1a953c6e9840527fd",
"type": "github"
},
"original": {
@ -198,11 +186,11 @@
]
},
"locked": {
"lastModified": 1723986931,
"narHash": "sha256-Fy+KEvDQ+Hc8lJAV3t6leXhZJ2ncU5/esxkgt3b8DEY=",
"lastModified": 1721852138,
"narHash": "sha256-JH8N5uoqoVA6erV4O40VtKKHsnfmhvMGbxMNDLtim5o=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "2598861031b78aadb4da7269df7ca9ddfc3e1671",
"rev": "304a011325b7ac7b8c9950333cd215a7aa146b0e",
"type": "github"
},
"original": {
@ -227,43 +215,22 @@
"type": "github"
}
},
"monitor": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1726021638,
"narHash": "sha256-nnkyh02DAjbcg4w4sT+hKW77hW/tT8pQHK997wYjtUo=",
"owner": "akr2002",
"repo": "monitor",
"rev": "311fd173ec9fa1a71317f5d36d00de47cba2aec8",
"type": "github"
},
"original": {
"owner": "akr2002",
"repo": "monitor",
"type": "github"
}
},
"neve": {
"inputs": {
"flake-utils": "flake-utils_2",
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs",
"nixvim": "nixvim"
},
"locked": {
"lastModified": 1724285379,
"narHash": "sha256-0Y1R057Z43M8cwf2nnzA759Oq7SwktgfC9NiQKYZIcs=",
"owner": "redyf",
"lastModified": 1722181694,
"narHash": "sha256-RNGQ6Hf3wdFvp9kR4vBv8wucpiL1pBChkUFLC1+RsDE=",
"owner": "akr2002",
"repo": "neve",
"rev": "1038e7aa676dc11e756f2c6227082fab7fc32945",
"rev": "08420902d82a0d59464459ffb43562418689a583",
"type": "github"
},
"original": {
"owner": "redyf",
"owner": "akr2002",
"repo": "neve",
"type": "github"
}
@ -277,11 +244,11 @@
]
},
"locked": {
"lastModified": 1723859949,
"narHash": "sha256-kiaGz4deGYKMjJPOji/JVvSP/eTefrIA3rAjOnOpXl4=",
"lastModified": 1721719500,
"narHash": "sha256-nnkqjv4Y37Hydjh6HE9wW4kSkV5Q7q4iIXlL5lwUFOw=",
"owner": "lnl7",
"repo": "nix-darwin",
"rev": "076b9a905af8a52b866c8db068d6da475839d97b",
"rev": "884f3fe6d9bf056ba0017c132c39c1f0d07d4fec",
"type": "github"
},
"original": {
@ -292,10 +259,12 @@
},
"nixpkgs": {
"locked": {
"lastModified": 0,
"narHash": "sha256-/DJBI6trCeVnasdjUo9pbnodCLZcFqnVZiLUfqLH4jA=",
"path": "/nix/store/7v6l2v247fmdgfpbs3w91mf6rinai4yk-source",
"type": "path"
"lastModified": 1721782431,
"narHash": "sha256-UNDpwjYxNXQet/g3mgRLsQ9zxrbm9j2JEvP4ijF3AWs=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "4f02464258baaf54992debfd010a7a3662a25536",
"type": "github"
},
"original": {
"id": "nixpkgs",
@ -304,11 +273,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1723991338,
"narHash": "sha256-Grh5PF0+gootJfOJFenTTxDTYPidA3V28dqJ/WV7iis=",
"lastModified": 1721743106,
"narHash": "sha256-adRZhFpBTnHiK3XIELA3IBaApz70HwCYfv7xNrHjebA=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "8a3354191c0d7144db9756a74755672387b702ba",
"rev": "dc14ed91132ee3a26255d01d8fd0c1f5bff27b2f",
"type": "github"
},
"original": {
@ -347,11 +316,11 @@
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1724127528,
"narHash": "sha256-fKtsvNQeLhPuz1O53x6Xxkd/yYecpolNXRq7mfvnXQk=",
"lastModified": 1721946885,
"narHash": "sha256-b90iLj3d9tLz5/M8dDnhD5j9vAWjpoNn5WhCLnIwK/g=",
"owner": "nix-community",
"repo": "nixvim",
"rev": "cb413995e1e101c76d755b7f131ce60c7ea3985d",
"rev": "47b6c4804f69556dc22aa2a2e64721f216b69090",
"type": "github"
},
"original": {
@ -362,7 +331,7 @@
},
"nuschtosSearch": {
"inputs": {
"flake-utils": "flake-utils_3",
"flake-utils": "flake-utils_2",
"nixpkgs": [
"neve",
"nixvim",
@ -370,11 +339,11 @@
]
},
"locked": {
"lastModified": 1723969429,
"narHash": "sha256-BuewfNEXEf11MIkJY+uvWsdLu1dIvgJqntWChvNdALg=",
"lastModified": 1721548975,
"narHash": "sha256-agCbztdk1f7nCUz03R6xdbivuBRuqubP2RHW+MNuRTg=",
"owner": "NuschtOS",
"repo": "search",
"rev": "a05d1805f2a2bc47d230e5e92aecbf69f784f3d0",
"rev": "551b031e2bc0bcc9584347a8da6312e57169661d",
"type": "github"
},
"original": {
@ -407,7 +376,6 @@
"inputs": {
"home-manager": "home-manager",
"master": "master",
"monitor": "monitor",
"neve": "neve",
"nixpkgs": "nixpkgs_3",
"nyaa": "nyaa"
@ -443,21 +411,6 @@
"type": "github"
}
},
"systems_3": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"treefmt-nix": {
"inputs": {
"nixpkgs": [
@ -467,11 +420,11 @@
]
},
"locked": {
"lastModified": 1723808491,
"narHash": "sha256-rhis3qNuGmJmYC/okT7Dkc4M8CeUuRCSvW6kC2f3hBc=",
"lastModified": 1721769617,
"narHash": "sha256-6Pqa0bi5nV74IZcENKYRToRNM5obo1EQ+3ihtunJ014=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "1d07739554fdc4f8481068f1b11d6ab4c1a4167a",
"rev": "8db8970be1fb8be9c845af7ebec53b699fe7e009",
"type": "github"
},
"original": {

View file

@ -6,10 +6,6 @@
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";
};
monitor = {
url = "github:akr2002/monitor";
inputs.nixpkgs.follows = "nixpkgs";
};
#nv = {
# url = "github:akr2002/nv";
# inputs.nixpkgs.follows = "nixpkgs";
@ -19,7 +15,7 @@
inputs.nixpkgs.follows = "nixpkgs";
};
neve = {
url = "github:redyf/neve";
url = "github:akr2002/neve";
};
};

View file

@ -11,7 +11,6 @@
./kde-utils
./kitty
./media
./monitor
./neovim
./office
./session-vars
@ -30,7 +29,6 @@
gnome-utils.enable = lib.mkDefault false;
kde-utils.enable = lib.mkDefault true;
kitty.enable = lib.mkDefault true;
monitor.enable = lib.mkDefault true;
neovim.enable = lib.mkDefault false;
tmux.enable = lib.mkDefault true;
vscode.enable = lib.mkDefault true;

View file

@ -1,32 +0,0 @@
{
config,
inputs,
lib,
pkgs,
...
}: {
options = {
monitor.enable = lib.mkEnableOption "enable monitor";
};
config = lib.mkIf config.monitor.enable {
systemd.user.timers.monitor = {
Install.WantedBy = [ "timers.target" ];
Timer = {
OnBootSec = "1m";
OnUnitActiveSec = "1m";
Unit = "monitor.service";
};
};
systemd.user.services.monitor = {
Unit = {
Description = "A script to monitor websites.";
};
Install = {
WantedBy = [ "default.target" ];
};
Service = {
ExecStart = "${inputs.monitor.packages.${pkgs.system}.default}/bin/monitor";
};
};
};
}