it works :D

This commit is contained in:
snurm committed 2026-08-31 21:21:44 +02:00
1 parent 08e34ab82f
commit df5a8a0460
15 files changed
+209 -16

No files matched your search

@@ -0,0 +1,12 @@
{ inputs, ... }: {
flake.modules.nixos.nixos-desktop = {
imports =
with inputs.self.modules.nixos;
with inputs.self.factory;
[
system-desktop
systemd-boot
i18n-de
];
};
}
+1
View File
@@ -20,6 +20,7 @@
home-manager = {
verbose = true;
useGlobalPkgs = true;
backupFileExtension = "backup";
};
};
}
+13
View File
@@ -0,0 +1,13 @@
{ inputs, ... }: {
flake-file.inputs = {
helium-browser = {
url = "github:schembriaiden/helium-browser-nix-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
};
flake.modules.nixos.browser = { pkgs, ... }: {
environment.systemPackages = [
inputs.helium-browser.packages.${pkgs.stdenv.hostPlatform.system}.default
];
};
}
+5
View File
@@ -0,0 +1,5 @@
{
flake.modules.nixos.git = { pkgs, ... }: {
environment.systemPackages = [ pkgs.git ];
};
}
+18
View File
@@ -0,0 +1,18 @@
{ inputs, ... }: {
flake-file.inputs = {
nixvim.url = "github:nix-community/nixvim/nixos-26.05";
nixvim.inputs.nixpkgs.follows = "nixpkgs";
};
flake.modules.homeManager.nixvim = {
imports = [
inputs.nixvim.homeModules.nixvim
];
programs.nixvim = {
enable = true;
};
home.sessionVariables.EDITOR = "nvim";
};
}
+29
View File
@@ -0,0 +1,29 @@
{ inputs, ... }:
{
flake.modules.nixos.zsh = {
programs.zsh.enable = true;
environment.pathsToLink = [ "/share/zsh" ];
};
flake.modules.homeManager.zsh = { pkgs, ... }: {
imports = with inputs.self.modules.homeManager; [
];
programs.zsh = {
enable = true;
autocd = true;
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
oh-my-zsh = {
enable = true;
plugins = [
"git"
];
};
};
};
}
+11
View File
@@ -0,0 +1,11 @@
{
flake.modules.nixos.pipewire = {
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
wireplumber.enable = true;
};
};
}
+5
View File
@@ -0,0 +1,5 @@
{
flake.modules.nixos.amd-gpu = { pkgs, ... }: {
boot.kernelModules = [ "kvm-amd" ];
};
}
+21
View File
@@ -0,0 +1,21 @@
{
flake.modules.nixos.i18n-de = {
time.timeZone = "Europe/Berlin";
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocales = [ "ja_JP.UTF-8/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";
};
console.keyMap = "de";
};
}
+5
View File
@@ -0,0 +1,5 @@
{
flake.modules.nixos.linux-latest = { pkgs, ... }: {
# boot.kernelPackages.pkgs.linuxPackages_latest;
};
}
+6
View File
@@ -0,0 +1,6 @@
{
flake.modules.nixos.systemd-boot = {
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
};
}
+8 -6
View File
@@ -4,6 +4,7 @@
system-base
hyprland
pipewire
browser
];
home-manager.sharedModules = [
@@ -12,13 +13,14 @@
};
flake.modules.homeManager.system-desktop = {
imports = with inputs.self.modules.homeManager; [
system-base
imports =
with inputs.self.modules.homeManager;
[
system-base
kitty
kitty
browser
zsh
];
zsh
];
};
}
+1
View File
@@ -27,6 +27,7 @@
imports = with self.modules.homeManager; [
snurm-git
btop
nixvim
];
};
}