restructure and further configure sway

This commit is contained in:
Astreaprtcl 2025-12-21 00:44:47 +01:00
parent f9138672e8
commit 8f5c2ff8f6
25 changed files with 476 additions and 256 deletions

View file

@ -1,16 +0,0 @@
{ ... }:
{
imports = [
./boot.nix
./default.nix
./git.nix
./greetd.nix
./home-manager.nix
./lix.nix
./nix.nix
./polkit.nix
./qemuGuest.nix
./security.nix
];
}

View file

@ -8,7 +8,7 @@
efi.canTouchEfiVariables = true;
limine = {
enable = true;
style.wallpapers = [];
style.wallpapers = [ ];
};
};
};

View file

@ -3,8 +3,10 @@
{
programs.git = {
enable = true;
config = [{
init.defaultBranch = "main";
}];
config = [
{
init.defaultBranch = "main";
}
];
};
}

View file

@ -1,4 +1,4 @@
{ home-manager, ... }:
{ ... }:
{
home-manager = {

View file

@ -1,13 +1,16 @@
{ pkgs, ... }:
{
nixpkgs.overlays = [ (final: prev: {
inherit (prev.lixPackageSets.stable)
nixpkgs-review
nix-eval-jobs
nix-fast-build
colmena;
}) ];
nixpkgs.overlays = [
(final: prev: {
inherit (prev.lixPackageSets.stable)
nixpkgs-review
nix-eval-jobs
nix-fast-build
colmena
;
})
];
nix.package = pkgs.lixPackageSets.stable.lix;
}

28
programs/locale.nix Normal file
View file

@ -0,0 +1,28 @@
{ ... }:
{
time.timeZone = "Europe/Berlin";
i18n = {
defaultLocale = "en_IE.UTF-8";
supportedLocales = [
"C.UTF-8/UTF-8"
"en_GB.UTF-8/UTF-8"
"en_IE.UTF-8/UTF-8"
"en_US.UTF-8/UTF-8"
"de_DE.UTF-8/UTF-8"
];
extraLocaleSettings = {
LANGUAGE = "en_IE.UTF-8";
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";
LANG = "en_IE.UTF-8";
};
};
}

View file

@ -1,8 +1,24 @@
{ ... }:
{
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
nix = {
optimise.automatic = true;
settings = {
auto-optimise-store = true;
experimental-features = [
"nix-command"
"flakes"
];
};
};
programs = {
nix-index.enable = true;
command-not-found.enable = true;
nix-ld.enable = true;
nh = {
enable = true;
clean.enable = true;
flake = "/etc/nixos";
};
};
}

12
programs/programs.nix Normal file
View file

@ -0,0 +1,12 @@
{ pkgs, ... }:
{
programs = {
fish.enable = true;
};
environment.systemPackages = with pkgs; [
brightnessctl
nixfmt-rfc-style
nixfmt-tree
];
}

View file

@ -1,8 +1,9 @@
{ pkgs, ... }:
{ ... }:
{
security = {
sudo.enable = false;
sudo-rs.enable = true;
pam.services.swaylock = { };
};
}

5
programs/system.nix Normal file
View file

@ -0,0 +1,5 @@
{ ... }:
{
system.stateVersion = "25.11";
}