mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-21 15:08:02 +08:00
24 lines
633 B
Nix
24 lines
633 B
Nix
# Configuration common to all Linux systems
|
|
{ flake, pkgs, ... }:
|
|
|
|
let
|
|
inherit (flake) config inputs;
|
|
inherit (inputs) self;
|
|
in
|
|
{
|
|
imports = [
|
|
{
|
|
users.users.${config.me.username}.isNormalUser = true;
|
|
home-manager.users.${config.me.username} = { };
|
|
home-manager.sharedModules = [
|
|
inputs.nix-index.homeManagerModules.${pkgs.system}.default
|
|
self.homeModules.default
|
|
self.homeModules.linux-only
|
|
];
|
|
}
|
|
self.nixosModules.common
|
|
inputs.agenix.nixosModules.default # Used in github-runner.nix & hedgedoc.nix
|
|
./linux/self-ide.nix
|
|
./linux/current-location.nix
|
|
];
|
|
}
|