Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
| cbb1c2fc26 | |||
| 5098629ff9 | |||
| 59f13a5a06 | |||
| 88a9ce1442 | |||
| 17c76064b6 | |||
| 3fbbe84dca |
12 changed files with 122 additions and 8 deletions
|
|
@ -1,9 +1,31 @@
|
||||||
{ self, inputs, ... }: {
|
{
|
||||||
flake.nixosConfigurations.nerv = inputs.nixpkgs.lib.nixosSystem {
|
self,
|
||||||
modules = with self.nixosModules; [
|
inputs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
mods = with self.nixosModules; [
|
||||||
user
|
user
|
||||||
packages
|
packages
|
||||||
|
agenix
|
||||||
|
boot
|
||||||
|
core
|
||||||
|
easyroam
|
||||||
/etc/nixos/hardware-configuration.nix
|
/etc/nixos/hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
in
|
||||||
|
{
|
||||||
|
flake.nixosConfigurations.nerv = inputs.nixpkgs.lib.nixosSystem {
|
||||||
|
modules =
|
||||||
|
with self.nixosModules;
|
||||||
|
[
|
||||||
|
{
|
||||||
|
config.dualBoot = true;
|
||||||
|
}
|
||||||
|
]
|
||||||
|
++ mods;
|
||||||
|
};
|
||||||
|
flake.nixosConfigurations.seele = inputs.nixpkgs.lib.nixosSystem {
|
||||||
|
modules = mods;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
5
modules/home/default.nix
Normal file
5
modules/home/default.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
{...}: {
|
||||||
|
flake.homeModules.lucy = {
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
1
modules/result
Symbolic link
1
modules/result
Symbolic link
|
|
@ -0,0 +1 @@
|
||||||
|
/nix/store/5jpn9svda3qw6mnzk9gbkzb4q7lg4vdw-nixos-system-nixos-26.05.20261015.26f4107
|
||||||
16
modules/services/easyroam.nix
Normal file
16
modules/services/easyroam.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
{ inputs, ... }: {
|
||||||
|
flake.nixosModules.easyroam = { config, ... }: {
|
||||||
|
imports = [
|
||||||
|
inputs.nix-easyroam.nixosModules.nix-easyroam
|
||||||
|
];
|
||||||
|
services.easyroam = {
|
||||||
|
enable = true;
|
||||||
|
pkcsFile = config.age.secrets.easyroam.path;
|
||||||
|
networkmanager.enable = true;
|
||||||
|
};
|
||||||
|
systemd.services.wpa_supplicant = {
|
||||||
|
wants = [ "easyroam-cert-setup.service" ];
|
||||||
|
after = [ "easyroam-cert-setup.service" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
10
modules/services/pipewire.nix
Normal file
10
modules/services/pipewire.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
{ ... }: {
|
||||||
|
flake.nixosModules.pipewire = {
|
||||||
|
services.pipewire = {
|
||||||
|
enable = true;
|
||||||
|
alsa.enable = true;
|
||||||
|
alsa.support32Bit = true;
|
||||||
|
pulse.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
8
modules/services/tlp.nix
Normal file
8
modules/services/tlp.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
{ ... }: {
|
||||||
|
flake.nixosModules.tlp = {
|
||||||
|
services.tlp = {
|
||||||
|
enable = true;
|
||||||
|
pd.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
{ ... }: {
|
{inputs, ... }: {
|
||||||
flake.nixosModules = {
|
flake.nixosModules.agenix = {config, ...}: {
|
||||||
|
imports = [
|
||||||
|
inputs.agenix.nixosModules.default
|
||||||
|
];
|
||||||
age = {
|
age = {
|
||||||
enable = true;
|
enable = true;
|
||||||
identityPaths = [ "/var/lib/misc/key.age" ];
|
identityPaths = [ "/var/lib/misc/key.age" ];
|
||||||
|
|
|
||||||
22
modules/system/core/boot.nix
Normal file
22
modules/system/core/boot.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
{ lib, config, ... }: {
|
||||||
|
flake.nixosModules.boot = { config, ... }: {
|
||||||
|
options = {
|
||||||
|
dualBoot = lib.mkOption {
|
||||||
|
type = lib.types.bool;
|
||||||
|
default = false;
|
||||||
|
description = "wether to enable windows boot entry to limine or not";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
config.boot.loader = {
|
||||||
|
efi.canTouchEfiVariables = true;
|
||||||
|
limine = {
|
||||||
|
enable = true;
|
||||||
|
extraEntries = lib.mkIf config.dualBoot ''
|
||||||
|
/Windows 11
|
||||||
|
protocol: efi_boot_entry
|
||||||
|
entry: Windows Boot Manager
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
26
modules/system/core/core.nix
Normal file
26
modules/system/core/core.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
{ ... }: {
|
||||||
|
flake.nixosModules.core = {
|
||||||
|
time.timeZone = "Europe/Berlin";
|
||||||
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
|
i18n.extraLocaleSettings = {
|
||||||
|
LC_ADDRESS = "de_DE.UTF-8";
|
||||||
|
LC_IDENTIFICATION = "de_DE.UTF-8";
|
||||||
|
LC_MEASUREMENT = "de_DE.UTF-8";
|
||||||
|
LC_MONETARY = "de_DE.UTF-8";
|
||||||
|
LC_NAME = "de_DE.UTF-8";
|
||||||
|
LC_NUMERIC = "de_DE.UTF-8";
|
||||||
|
LC_PAPER = "de_DE.UTF-8";
|
||||||
|
LC_TELEPHONE = "de_DE.UTF-8";
|
||||||
|
LC_TIME = "de_DE.UTF-8";
|
||||||
|
};
|
||||||
|
security = {
|
||||||
|
rtkit.enable = true;
|
||||||
|
polkit.enable = true; # polkit
|
||||||
|
# polkit.enablePkexecWrapper = true;
|
||||||
|
};
|
||||||
|
nix.settings.experimental-features = [
|
||||||
|
"nix-command"
|
||||||
|
"flakes"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
1
result
Symbolic link
1
result
Symbolic link
|
|
@ -0,0 +1 @@
|
||||||
|
/nix/store/dv2b9jwqaymcsdiw2sp81h3xqfnlkac7-nixos-system-nixos-26.05.20261015.26f4107
|
||||||
Loading…
Reference in a new issue