Merge 'home-manager' flake into NixOS flake

main
Hektor Misplon 2025-11-10 17:47:30 +01:00
parent 85165468f5
commit 61278b8fb3
12 changed files with 0 additions and 967 deletions

View File

@ -1,166 +0,0 @@
{
"nodes": {
"firefox-addons": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"dir": "pkgs/firefox-addons",
"lastModified": 1762315418,
"narHash": "sha256-mLJeHkYvojbq/1vot6IXq85l0sN9KlAPbRzYo4Mnc4g=",
"owner": "rycee",
"repo": "nur-expressions",
"rev": "ccdfe1d5d7da86941ac363b5bf2b5bc88b15def2",
"type": "gitlab"
},
"original": {
"dir": "pkgs/firefox-addons",
"owner": "rycee",
"repo": "nur-expressions",
"type": "gitlab"
}
},
"flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1762351818,
"narHash": "sha256-0ptUDbYwxv1kk/uzEX4+NJjY2e16MaAhtzAOJ6K0TG0=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "b959c67241cae17fc9e4ee7eaf13dfa8512477ea",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "home-manager",
"type": "github"
}
},
"nix-secrets": {
"flake": false,
"locked": {
"lastModified": 1762463676,
"narHash": "sha256-PMNLD8PPcei/1SwNph+CVTBw+3SvlN2R/CnTUFJO5O0=",
"ref": "main",
"rev": "183554d159e1d8ea1f1d2d626b6686ebcb37a612",
"shallow": true,
"type": "git",
"url": "ssh://git@github.com/hektor/nix-secrets"
},
"original": {
"ref": "main",
"shallow": true,
"type": "git",
"url": "ssh://git@github.com/hektor/nix-secrets"
}
},
"nixgl": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1762090880,
"narHash": "sha256-fbRQzIGPkjZa83MowjbD2ALaJf9y6KMDdJBQMKFeY/8=",
"owner": "nix-community",
"repo": "nixGL",
"rev": "b6105297e6f0cd041670c3e8628394d4ee247ed5",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixGL",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1762111121,
"narHash": "sha256-4vhDuZ7OZaZmKKrnDpxLZZpGIJvAeMtK6FKLJYUtAdw=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "b3d51a0365f6695e7dd5cdf3e180604530ed33b4",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"firefox-addons": "firefox-addons",
"home-manager": "home-manager",
"nix-secrets": "nix-secrets",
"nixgl": "nixgl",
"nixpkgs": "nixpkgs",
"sops-nix": "sops-nix"
}
},
"sops-nix": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1760998189,
"narHash": "sha256-ee2e1/AeGL5X8oy/HXsZQvZnae6XfEVdstGopKucYLY=",
"owner": "Mic92",
"repo": "sops-nix",
"rev": "5a7d18b5c55642df5c432aadb757140edfeb70b3",
"type": "github"
},
"original": {
"owner": "Mic92",
"repo": "sops-nix",
"type": "github"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
}
},
"root": "root",
"version": 7
}

View File

@ -1,57 +0,0 @@
{
inputs = {
nixpkgs = {
url = "github:nixos/nixpkgs/nixos-unstable";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-secrets = {
url = "git+ssh://git@github.com/hektor/nix-secrets?shallow=1&ref=main";
flake = false;
};
nixgl = {
url = "github:nix-community/nixGL";
inputs.nixpkgs.follows = "nixpkgs";
};
firefox-addons = {
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
{
nixpkgs,
home-manager,
nixgl,
...
}@inputs:
let
lib = nixpkgs.lib;
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
overlays = [ nixgl.overlay ];
config.allowUnfree = true;
};
in
{
homeConfigurations = {
work = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = {
inherit inputs;
};
modules = [
./hosts/work
];
};
};
};
}

View File

@ -1,42 +0,0 @@
{
pkgs,
config,
inputs,
...
}:
{
imports = [ inputs.sops-nix.homeManagerModules.sops ];
sops = {
defaultSopsFile = "${builtins.toString inputs.nix-secrets}/secrets.yaml";
defaultSopsFormat = "yaml";
age.keyFile = "/home/hektor/.config/sops/age/keys.txt";
secrets."test" = { };
};
nixGL = {
packages = inputs.nixgl.packages;
defaultWrapper = "mesa";
};
home.username = "hektor";
home.homeDirectory = "/home/hektor";
home.stateVersion = "25.05";
programs.anki = import ../../modules/anki.nix;
programs.firefox = import ../../modules/firefox.nix {
inherit inputs;
inherit pkgs;
inherit config;
};
programs.git = import ../../modules/git.nix;
programs.keepassxc = import ../../modules/keepassxc.nix;
programs.neovim = import ../../modules/neovim.nix;
home.packages = import ./packages.nix {
inherit pkgs;
inherit config;
};
}

View File

@ -1,3 +0,0 @@
{ pkgs, config, ... }:
with pkgs; [ ]

View File

@ -1,3 +0,0 @@
{
enable = true;
}

View File

@ -1,6 +0,0 @@
[
{
name = "kanban - tenant manager";
url = "https://rightcrowd.atlassian.net/jira/software/c/projects/RPD/boards/1131";
}
]

View File

@ -1,181 +0,0 @@
[
{
name = "localdev";
bookmarks = [
{
name = "api-test.h.rightcrowd.cloud";
bookmarks = [
{
name = "rightcrowd-api";
url = "https://api-test.h.rightcrowd.cloud";
}
];
}
{
name = "argo-applicationset.h.rightcrowd.cloud";
bookmarks = [
{
name = "argocd-applicationset-controller";
url = "https://argo-applicationset.h.rightcrowd.cloud";
}
];
}
{
name = "argo.h.rightcrowd.cloud";
bookmarks = [
{
name = "argocd-server";
url = "https://argo.h.rightcrowd.cloud";
}
];
}
{
name = "grafana.h.rightcrowd.cloud";
bookmarks = [
{
name = "grafana";
url = "https://grafana.h.rightcrowd.cloud";
}
];
}
{
name = "grpc-wf-test.h.rightcrowd.cloud";
bookmarks = [
{
name = "workflow";
url = "https://grpc-wf-test.h.rightcrowd.cloud";
}
];
}
{
name = "home.h.rightcrowd.cloud";
bookmarks = [
{
name = "homepage";
url = "https://home.h.rightcrowd.cloud";
}
{
name = "oauth2-proxy-homepage-service";
url = "https://home.h.rightcrowd.cloud";
}
];
}
{
name = "iam.h.rightcrowd.cloud";
bookmarks = [
{
name = "keycloak-service";
url = "https://iam.h.rightcrowd.cloud";
}
{
name = "keycloak-service";
url = "https://iam.h.rightcrowd.cloud";
}
];
}
{
name = "minio.h.rightcrowd.cloud";
bookmarks = [
{
name = "console";
url = "https://minio.h.rightcrowd.cloud";
}
];
}
{
name = "piam-test.h.rightcrowd.cloud";
bookmarks = [
{
name = "workflow";
url = "https://piam-test.h.rightcrowd.cloud";
}
];
}
{
name = "registry.h.rightcrowd.cloud";
bookmarks = [
{
name = "registry-docker-registry";
url = "https://registry.h.rightcrowd.cloud";
}
];
}
{
name = "reporting-test.h.rightcrowd.cloud";
bookmarks = [
{
name = "reporting";
url = "https://reporting-test.h.rightcrowd.cloud";
}
];
}
{
name = "side-login-api.h.rightcrowd.cloud";
bookmarks = [
{
name = "side-login-backend-service";
url = "https://side-login-api.h.rightcrowd.cloud";
}
];
}
{
name = "side-login.h.rightcrowd.cloud";
bookmarks = [
{
name = "side-login-frontend-service";
url = "https://side-login.h.rightcrowd.cloud";
}
];
}
{
name = "tenant-manager.h.rightcrowd.cloud";
bookmarks = [
{
name = "tenant-manager-frontend";
url = "https://tenant-manager.h.rightcrowd.cloud";
}
{
name = "tenant-manager-backend";
url = "https://tenant-manager.h.rightcrowd.cloud";
}
];
}
{
name = "vault.h.rightcrowd.cloud";
bookmarks = [
{
name = "vault";
url = "https://vault.h.rightcrowd.cloud";
}
];
}
{
name = "web-tracing.h.rightcrowd.cloud";
bookmarks = [
{
name = "alloy";
url = "https://web-tracing.h.rightcrowd.cloud";
}
];
}
{
name = "wf-test.h.rightcrowd.cloud";
bookmarks = [
{
name = "workflow";
url = "https://wf-test.h.rightcrowd.cloud";
}
];
}
];
}
{
name = "dev";
bookmarks = [
{
name = "tenman";
url = "";
}
];
}
]

View File

@ -1,402 +0,0 @@
[
{
name = "agent";
url = "https://gitlab.com/rightcrowd/agent";
}
{
name = "ai openapi experiment";
url = "https://gitlab.com/rightcrowd/ai-openapi-experiment";
}
{
name = "ai project";
url = "https://gitlab.com/rightcrowd/ai-project";
}
{
name = "ai-rule-engine";
url = "https://gitlab.com/rightcrowd/ai-rule-engine";
}
{
name = "ai_chatbot_helpdesk";
url = "https://gitlab.com/rightcrowd/ai_chatbot_helpdesk";
}
{
name = "airflow";
url = "https://gitlab.com/rightcrowd/airflow";
}
{
name = "android-device-library";
url = "https://gitlab.com/rightcrowd/android-device-library";
}
{
name = "android-tpm";
url = "https://gitlab.com/rightcrowd/android-tpm";
}
{
name = "android-tpm-test";
url = "https://gitlab.com/rightcrowd/android-tpm-test";
}
{
name = "architecture design decisions";
url = "https://gitlab.com/rightcrowd/architecture-design-decisions";
}
{
name = "backend-core";
url = "https://gitlab.com/rightcrowd/backend-core";
}
{
name = "backend-identity-access-management";
url = "https://gitlab.com/rightcrowd/backend-identity-access-management";
}
{
name = "backend-pin-management";
url = "https://gitlab.com/rightcrowd/backend-pin-management";
}
{
name = "backend-test-container";
url = "https://gitlab.com/rightcrowd/backend-test-container";
}
{
name = "bu snaplogic";
url = "https://gitlab.com/rightcrowd/bu-snaplogic";
}
{
name = "contractor-portal";
url = "https://gitlab.com/rightcrowd/contractor-portal";
}
{
name = "credential service";
url = "https://gitlab.com/rightcrowd/credential-service";
}
{
name = "employee app";
url = "https://gitlab.com/rightcrowd/employee-app";
}
{
name = "events-service-research";
url = "https://gitlab.com/rightcrowd/events-service-research";
}
{
name = "facerecognition";
url = "https://gitlab.com/rightcrowd/facerecognition";
}
{
name = "function-keycloak-builtin-objects";
url = "https://gitlab.com/rightcrowd/function-keycloak-builtin-objects";
}
{
name = "fw_ble_soc_bl";
url = "https://gitlab.com/rightcrowd/fw_ble_soc_bl";
}
{
name = "fw_ble_soc_certification";
url = "https://gitlab.com/rightcrowd/fw_ble_soc_certification";
}
{
name = "fw_ble_soc_dw_sniffer";
url = "https://gitlab.com/rightcrowd/fw_ble_soc_dw_sniffer";
}
{
name = "fw_ble_soc_dw_tag";
url = "https://gitlab.com/rightcrowd/fw_ble_soc_dw_tag";
}
{
name = "fw_ble_soc_dw_ths_master";
url = "https://gitlab.com/rightcrowd/fw_ble_soc_dw_ths_master";
}
{
name = "fw_ble_soc_dw_ths_slave";
url = "https://gitlab.com/rightcrowd/fw_ble_soc_dw_ths_slave";
}
{
name = "fw_ble_soc_hw_3_0";
url = "https://gitlab.com/rightcrowd/fw_ble_soc_hw_3_0";
}
{
name = "fw_ble_soc_prod_test_jig";
url = "https://gitlab.com/rightcrowd/fw_ble_soc_prod_test_jig";
}
{
name = "fw_cr";
url = "https://gitlab.com/rightcrowd/fw_cr";
}
{
name = "fw_cr_upload";
url = "https://gitlab.com/rightcrowd/fw_cr_upload";
}
{
name = "fw_legacy_applet";
url = "https://gitlab.com/rightcrowd/fw_legacy_applet";
}
{
name = "fw_nfc_soc";
url = "https://gitlab.com/rightcrowd/fw_nfc_soc";
}
{
name = "fw_nrf5_sdk";
url = "https://gitlab.com/rightcrowd/fw_nrf5_sdk";
}
{
name = "fw_orion";
url = "https://gitlab.com/rightcrowd/fw_orion";
}
{
name = "fw_pr";
url = "https://gitlab.com/rightcrowd/fw_pr";
}
{
name = "fw_prod";
url = "https://gitlab.com/rightcrowd/fw_prod";
}
{
name = "fw_prod_dekimo";
url = "https://gitlab.com/rightcrowd/fw_prod_dekimo";
}
{
name = "fw_prod_test";
url = "https://gitlab.com/rightcrowd/fw_prod_test";
}
{
name = "fw_scc";
url = "https://gitlab.com/rightcrowd/fw_scc";
}
{
name = "fw_tc";
url = "https://gitlab.com/rightcrowd/fw_tc";
}
{
name = "fw_tc_prod_test";
url = "https://gitlab.com/rightcrowd/fw_tc_prod_test";
}
{
name = "fw_test_app";
url = "https://gitlab.com/rightcrowd/fw_test_app";
}
{
name = "gateway api";
url = "https://gitlab.com/rightcrowd/gateway-api";
}
{
name = "gitlab-renovate-runner";
url = "https://gitlab.com/rightcrowd/gitlab-renovate-runner";
}
{
name = "hashicorp vault";
url = "https://gitlab.com/rightcrowd/hashicorp-vault";
}
{
name = "helm charts";
url = "https://gitlab.com/rightcrowd/helm-charts";
}
{
name = "hid mobile credentials poc dump";
url = "https://gitlab.com/rightcrowd/poc-hid-mobile-credentials-dump";
}
{
name = "in-cluster-development";
url = "https://gitlab.com/rightcrowd/in-cluster-development";
}
{
name = "integrations service";
url = "https://gitlab.com/rightcrowd/integrations-service";
}
{
name = "interview-questions";
url = "https://gitlab.com/rightcrowd/interview-questions";
}
{
name = "ios-firmware-manager";
url = "https://gitlab.com/rightcrowd/ios-firmware-manager";
}
{
name = "ios-gw";
url = "https://gitlab.com/rightcrowd/ios-gw";
}
{
name = "ios-kiosk";
url = "https://gitlab.com/rightcrowd/ios-kiosk";
}
{
name = "json parser";
url = "https://gitlab.com/rightcrowd/json-parser";
}
{
name = "jwt-claims-convention";
url = "https://gitlab.com/rightcrowd/jwt-claims-convention";
}
{
name = "k8s secret aggregation operator";
url = "https://gitlab.com/rightcrowd/k8s-secrets-aggregation-operator";
}
{
name = "keycloak";
url = "https://gitlab.com/rightcrowd/keycloak";
}
{
name = "keycloak-realm-kubernetes-operator";
url = "https://gitlab.com/rightcrowd/keycloak-realm-kubernetes-operator";
}
{
name = "keycloak-test-impl";
url = "https://gitlab.com/rightcrowd/keycloak-test-impl";
}
{
name = "kube diff";
url = "https://gitlab.com/rightcrowd/kube-diff";
}
{
name = "link service";
url = "https://gitlab.com/rightcrowd/link-service";
}
{
name = "location service";
url = "https://gitlab.com/rightcrowd/location-service";
}
{
name = "mongo-encryption-poc";
url = "https://gitlab.com/rightcrowd/mongo-encryption-poc";
}
{
name = "next gen reporting";
url = "https://gitlab.com/rightcrowd/next-gen-reporting";
}
{
name = "node.js application template";
url = "https://gitlab.com/rightcrowd/templates/node.js-application-template";
}
{
name = "nodejs python microservice poc";
url = "https://gitlab.com/rightcrowd/nodejs-python-microservice-poc";
}
{
name = "observability dev kit";
url = "https://gitlab.com/rightcrowd/observability-dev-kit";
}
{
name = "open adapter security expert";
url = "https://gitlab.com/rightcrowd/open-adapter-security-expert";
}
{
name = "pacs remote adapter andover";
url = "https://gitlab.com/rightcrowd/pacs-ra-andover";
}
{
name = "platform apps";
url = "https://gitlab.com/rightcrowd/platform-apps";
}
{
name = "platform feature flags";
url = "https://gitlab.com/rightcrowd/feature-flags";
}
{
name = "platform infra";
url = "https://gitlab.com/rightcrowd/platform-infra";
}
{
name = "platform-dev";
url = "https://gitlab.com/rightcrowd/platform-dev";
}
{
name = "platform-onprem";
url = "https://gitlab.com/rightcrowd/platform-onprem";
}
{
name = "poc-android-ble-test-app";
url = "https://gitlab.com/rightcrowd/poc-android-ble-test-app";
}
{
name = "poc-hw-tools";
url = "https://gitlab.com/rightcrowd/poc-hw-tools";
}
{
name = "poc_arduino_sketches";
url = "https://gitlab.com/rightcrowd/poc_arduino_sketches";
}
{
name = "poc_gw_rssi_visu";
url = "https://gitlab.com/rightcrowd/poc_gw_rssi_visu";
}
{
name = "public api javascript client";
url = "https://gitlab.com/rightcrowd/public-api-js-client";
}
{
name = "rightcrowd cloud";
url = "https://gitlab.com/rightcrowd/RightCrowd-cloud";
}
{
name = "rightcrowd design system web";
url = "https://gitlab.com/rightcrowd/rightcrowd-design-system-web";
}
{
name = "rightcrowd gitlab image builder";
url = "https://gitlab.com/rightcrowd/rightcrowd-gitlab-image-builder";
}
{
name = "rightcrowd-lib";
url = "https://gitlab.com/rightcrowd/lib";
}
{
name = "rightcrowd-ng-api-design";
url = "https://gitlab.com/rightcrowd/rightcrowd-ng-api-design";
}
{
name = "rightface";
url = "https://gitlab.com/rightcrowd/rightface";
}
{
name = "side login application";
url = "https://gitlab.com/rightcrowd/side-login-application";
}
{
name = "single tenant router";
url = "https://gitlab.com/rightcrowd/single-tenant-redirector";
}
{
name = "smartaccess api design";
url = "https://gitlab.com/rightcrowd/smartaccess-api-design";
}
{
name = "smartaccess interface";
url = "https://gitlab.com/rightcrowd/admin-application";
}
{
name = "smartface";
url = "https://gitlab.com/rightcrowd/smartface";
}
{
name = "techshare";
url = "https://gitlab.com/rightcrowd/techshare";
}
{
name = "tenant manager";
url = "https://gitlab.com/rightcrowd/tenant-manager";
}
{
name = "tenman-k8s-operator-experiment";
url = "https://gitlab.com/rightcrowd/tenman-k8s-operator-experiment";
}
{
name = "tenman-k8s-operator-experiment-ts";
url = "https://gitlab.com/rightcrowd/tenman-k8s-operator-experiment-ts";
}
{
name = "test-setup";
url = "https://gitlab.com/rightcrowd/test-setup";
}
{
name = "trpc-oas-experiment";
url = "https://gitlab.com/rightcrowd/trpc-oas-experiment";
}
{
name = "uwb-demo";
url = "https://gitlab.com/rightcrowd/uwb-demo";
}
{
name = "web ui components";
url = "https://gitlab.com/rightcrowd/ui-components";
}
{
name = "web-pin-management";
url = "https://gitlab.com/rightcrowd/web-pin-management";
}
]

View File

@ -1,93 +0,0 @@
{ inputs, pkgs, ... }:
{
enable = true;
nativeMessagingHosts = with pkgs; [
tridactyl-native
];
policies = {
DefaultDownloadDirectory = "\${home}/dl";
};
profiles = {
work = {
settings = {
"signon.rememberSignons" = false;
"findbar.highlightAll" = true;
"extensions.autoDisableScopes" = 0; # Enable extensions by default <https://nix-community.github.io/home-manager/options.xhtml#opt-programs.firefox.profiles._name_.extensions.packages>
};
extensions = {
packages = with inputs.firefox-addons.packages.${pkgs.system}; [
duckduckgo-privacy-essentials
istilldontcareaboutcookies
libredirect
keepassxc-browser
react-devtools
sponsorblock
tridactyl
ublock-origin
];
};
bookmarks = {
force = true;
settings = [
{
toolbar = true;
bookmarks = [
{
name = "NixOS";
bookmarks = [
{
name = "wiki";
url = "https://wiki.nixos.org/wiki/NixOS_Wiki";
}
{
name = "packages";
url = "https://search.nixos.org/packages";
}
{
name = "options";
url = "https://search.nixos.org/options";
}
];
}
];
}
];
};
};
};
policies = {
ExtensionSettings = {
"jid1-ZAdIEUB7XOzOJw@jetpack" = {
default_area = "navbar";
private_browsing = true;
};
"idcac-pub@guus.ninja" = {
default_area = "navbar";
private_browsing = true;
};
"7esoorv3@alefvanoon.anonaddy.me" = {
default_area = "navbar";
};
"keepassxc-browser@keepassxc.org" = {
default_area = "navbar";
private_browsing = true;
};
"@react-devtools" = {
default_area = "navbar";
private_browsing = true;
};
"sponsorBlocker@ajay.app" = {
default_area = "navbar";
private_browsing = true;
};
"tridactyl.vim@cmcaine.co.uk".settings = {
private_browsing = true;
};
"uBlock0@raymondhill.net".settings = {
default_area = "navbar";
private_browsing = true;
};
};
};
}

View File

@ -1,3 +0,0 @@
{
enable = true;
}

View File

@ -1,4 +0,0 @@
{
enable = true;
# TODO: https://mynixos.com/home-manager/option/programs.keepassxc.settings
}

View File

@ -1,7 +0,0 @@
{
enable = true;
defaultEditor = true;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
}