This commit is contained in:
parent
a0575bdb2a
commit
703bf836de
210 changed files with 1 additions and 1 deletions
23
modules/hosts/t480/dev-commit.nix
Normal file
23
modules/hosts/t480/dev-commit.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
flake.modules.nixos."nixosConfigurations/t480".home-manager.users.${config.flake.meta.owner.username} =
|
||||
hmArgs: {
|
||||
programs.dev-commit.enable = true;
|
||||
|
||||
programs.dev-commit.schedule.enable = true;
|
||||
programs.dev-commit.schedule.time = "daily";
|
||||
|
||||
programs.dev-commit.repoPaths =
|
||||
let
|
||||
repos = "${hmArgs.config.xdg.userDirs.extraConfig.XDG_REPOS_DIR}/forgejo/opdavies";
|
||||
in
|
||||
map (name: "${repos}/${name}") [
|
||||
"email-filters"
|
||||
"git-repo-updater"
|
||||
"nix-config"
|
||||
"oliverdavies.uk"
|
||||
"opentofu-dns"
|
||||
];
|
||||
};
|
||||
}
|
5
modules/hosts/t480/dwm/blocks.nix
Normal file
5
modules/hosts/t480/dwm/blocks.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
flake.modules.homeManager.gui = { pkgs, ... }: {
|
||||
home.packages = [ pkgs.dwmblocks ];
|
||||
};
|
||||
}
|
3
modules/hosts/t480/dwm/dwm.nix
Normal file
3
modules/hosts/t480/dwm/dwm.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
flake.modules.nixos.pc.services.xserver.windowManager.dwm.enable = true;
|
||||
}
|
17
modules/hosts/t480/fixapost.nix
Normal file
17
modules/hosts/t480/fixapost.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ inputs, ... }:
|
||||
|
||||
{
|
||||
flake.modules.homeManager.base =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
(pkgs.writeShellApplication rec {
|
||||
name = "fixapost";
|
||||
|
||||
runtimeInputs = [ pkgs.coreutils ];
|
||||
|
||||
text = builtins.readFile "${inputs.rwxrob-dot}/scripts/${name}";
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
17
modules/hosts/t480/heightwidth.nix
Normal file
17
modules/hosts/t480/heightwidth.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ inputs, ... }:
|
||||
|
||||
{
|
||||
flake.modules.homeManager.base =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
(pkgs.writeShellApplication rec {
|
||||
name = "heightwidth";
|
||||
|
||||
runtimeInputs = [ pkgs.ffmpeg ];
|
||||
|
||||
text = builtins.readFile "${inputs.rwxrob-dot}/scripts/${name}";
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
7
modules/hosts/t480/imports.nix
Normal file
7
modules/hosts/t480/imports.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
flake.modules.nixos."nixosConfigurations/t480".imports = with config.flake.modules.nixos; [
|
||||
desktop
|
||||
];
|
||||
}
|
5
modules/hosts/t480/kanata/devices.nix
Normal file
5
modules/hosts/t480/kanata/devices.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
flake.modules.nixos.pc.services.kanata.devices = [
|
||||
"/dev/input/by-path/platform-i8042-serio-0-event-kbd"
|
||||
];
|
||||
}
|
3
modules/hosts/t480/kanata/enable.nix
Normal file
3
modules/hosts/t480/kanata/enable.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
flake.modules.nixos.pc.services.kanata.enable = true;
|
||||
}
|
7
modules/hosts/t480/notes.nix
Normal file
7
modules/hosts/t480/notes.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
flake.modules.homeManager.base =
|
||||
{ config, ... }:
|
||||
{
|
||||
programs.notes.directory = "${config.xdg.userDirs.documents}/wiki/notes";
|
||||
};
|
||||
}
|
3
modules/hosts/t480/ollama.nix
Normal file
3
modules/hosts/t480/ollama.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
flake.modules.nixos.desktop.services.ollama.enable = false;
|
||||
}
|
5
modules/hosts/t480/open-webui.nix
Normal file
5
modules/hosts/t480/open-webui.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
nixpkgs.allowedUnfreePackages = [ "open-webui" ];
|
||||
|
||||
flake.modules.nixos.desktop.services.open-webui.enable = false;
|
||||
}
|
11
modules/hosts/t480/password-store.nix
Normal file
11
modules/hosts/t480/password-store.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
flake.modules.homeManager.base =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
programs.password-store.extensions = with pkgs.passExtensions; [
|
||||
pass-audit
|
||||
pass-otp
|
||||
pass-update
|
||||
];
|
||||
};
|
||||
}
|
11
modules/hosts/t480/slack.nix
Normal file
11
modules/hosts/t480/slack.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
nixpkgs.allowedUnfreePackages = [ "slack" ];
|
||||
|
||||
flake.modules.nixos."nixosConfigurations/t480" =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
users.users."${config.flake.meta.owner.username}".packages = [ pkgs.slack ];
|
||||
};
|
||||
}
|
15
modules/hosts/t480/tmux-sessionizer.nix
Normal file
15
modules/hosts/t480/tmux-sessionizer.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
flake.modules.nixos."nixosConfigurations/t480".home-manager.users.${config.flake.meta.owner.username} = args: {
|
||||
programs.tmux-sessionizer.searchPaths =
|
||||
let
|
||||
inherit (args.config.xdg) userDirs;
|
||||
in
|
||||
[
|
||||
"${userDirs.extraConfig.XDG_REPOS_DIR}:3"
|
||||
"${userDirs.documents}:1"
|
||||
"${args.config.home.homeDirectory}/tmp"
|
||||
];
|
||||
};
|
||||
}
|
11
modules/hosts/t480/zoom.nix
Normal file
11
modules/hosts/t480/zoom.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
nixpkgs.allowedUnfreePackages = [ "zoom" ];
|
||||
|
||||
flake.modules.nixos."nixosConfigurations/t480" =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
users.users."${config.flake.meta.owner.username}".packages = [ pkgs.zoom-us ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue