mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 01:53:15 -06:00
add tsm flake
This commit is contained in:
parent
e0a3123035
commit
13b42e2511
6 changed files with 36 additions and 8 deletions
25
flake.lock
25
flake.lock
|
@ -381,7 +381,8 @@
|
|||
"nixpkgs": "nixpkgs",
|
||||
"nixpkgs-wayland": "nixpkgs-wayland",
|
||||
"pinix": "pinix",
|
||||
"stable": "stable"
|
||||
"stable": "stable",
|
||||
"tsm": "tsm"
|
||||
}
|
||||
},
|
||||
"stable": {
|
||||
|
@ -467,6 +468,28 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"tsm": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"dir": "nix",
|
||||
"lastModified": 1710799014,
|
||||
"narHash": "sha256-QQMkhLc3UPOziGHCKHLkLffbbUxhXBOpmaarTX1LfxM=",
|
||||
"owner": "daylinmorgan",
|
||||
"repo": "tsm",
|
||||
"rev": "ebdf050743bfac25a08944b2a348327909371ce2",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"dir": "nix",
|
||||
"owner": "daylinmorgan",
|
||||
"repo": "tsm",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"wlroots": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
|
|
|
@ -11,6 +11,9 @@
|
|||
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||
stable.url = "github:nixos/nixpkgs/nixos-23.11";
|
||||
|
||||
tsm.url = "github:daylinmorgan/tsm?dir=nix";
|
||||
tsm.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
hyprland.url = "github:hyprwm/Hyprland/main";
|
||||
hyprland.inputs.nixpkgs.follows = "nixpkgs";
|
||||
hyprland-contrib.url = "github:hyprwm/contrib";
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
"tex"
|
||||
"node"
|
||||
];
|
||||
chrome.enable = true;
|
||||
};
|
||||
vivaldi.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
zk
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
languages
|
||||
|
||||
# programs
|
||||
vivaldi
|
||||
chrome
|
||||
vscode
|
||||
];
|
||||
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
{
|
||||
config,
|
||||
inputs,
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkOption mkIf types;
|
||||
|
@ -32,6 +33,7 @@ in {
|
|||
ripgrep
|
||||
|
||||
btop
|
||||
inputs.tsm.packages.${pkgs.system}.tsm
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -5,9 +5,9 @@
|
|||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.vivaldi;
|
||||
cfg = config.oizys.chrome;
|
||||
in {
|
||||
options.vivaldi.enable = mkEnableOption "enable vivaldi + extensions";
|
||||
options.oizys.chrome.enable = mkEnableOption "enable chrome + extensions";
|
||||
config = mkIf cfg.enable {
|
||||
programs.chromium = {
|
||||
enable = true;
|
||||
|
@ -18,15 +18,15 @@ in {
|
|||
"pbmlfaiicoikhdbjagjbglnbfcbcojpj" # simplify gmail
|
||||
"oemmndcbldboiebfnladdacbdfmadadm" # pdf viewer
|
||||
"clngdbkpkpeebahjckkjfobafhncgmne" # stylus
|
||||
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # ublock origin
|
||||
];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
(vivaldi.override {
|
||||
(google-chrome.override {
|
||||
commandLineArgs = [
|
||||
"--force-dark-mode"
|
||||
];
|
||||
proprietaryCodecs = true;
|
||||
})
|
||||
];
|
||||
};
|
Loading…
Reference in a new issue