mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +00:00
kinda works
This commit is contained in:
parent
f3198e035f
commit
1e3aea45f5
2 changed files with 217 additions and 21 deletions
|
|
@ -7,6 +7,7 @@ in
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib.modules) mkAliasOptionModule;
|
||||
|
|
@ -29,20 +30,12 @@ in
|
|||
{
|
||||
nixpkgs = {
|
||||
overlays = map import [
|
||||
../overlays/agenix.nix
|
||||
../overlays/disko.nix
|
||||
../overlays/nur.nix
|
||||
../overlays/wired-notify.nix
|
||||
../overlays/nix-tree.nix
|
||||
../overlays/wallpapers.nix
|
||||
|
||||
../overlays/packages.nix
|
||||
./vanadium/overlay.nix
|
||||
];
|
||||
|
||||
# Set NIX_PATH and flake registry at the same time
|
||||
# https://github.com/NixOS/nixpkgs/pull/254405
|
||||
flake.source = sources.nixpkgs;
|
||||
config.allowUnfreePredicate = pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"posy-cursors"
|
||||
];
|
||||
};
|
||||
|
||||
system.nixos.version = lib.substring 0 8 sources.nixpkgs.rev;
|
||||
|
|
@ -51,15 +44,30 @@ in
|
|||
#
|
||||
# NixOS modules
|
||||
#
|
||||
./vanadium/nixos/gui.nix
|
||||
{
|
||||
services.xserver.windowManager.xmonad = {
|
||||
enable = true;
|
||||
enableContribAndExtras = true;
|
||||
};
|
||||
|
||||
./vanadium/nixos/locale.nix
|
||||
./vanadium/nixos/unfree-predicate.nix
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
autoRepeatDelay = 300;
|
||||
autoRepeatInterval = 40;
|
||||
};
|
||||
|
||||
services.xserver.displayManager.lightdm = {
|
||||
enable = true;
|
||||
background = "#000000";
|
||||
# greeters.gtk.cursorTheme = {
|
||||
# name = "Posy_Cursor_Black";
|
||||
# package = pkgs.posy-cursors;
|
||||
# size = 72;
|
||||
# };
|
||||
};
|
||||
}
|
||||
|
||||
../nixosModules/extra/layouts
|
||||
../nixosModules/extra/leana.nix
|
||||
|
||||
(import (sources.lix-module + "/module.nix") {lix = sources.lix;})
|
||||
|
||||
#
|
||||
# home-manager
|
||||
|
|
@ -81,10 +89,24 @@ in
|
|||
#
|
||||
# home modules
|
||||
#
|
||||
./vanadium/home/misc.nix
|
||||
({nixosConfig, ...}: {
|
||||
programs.kitty.enable = true;
|
||||
programs.firefox.enable = true;
|
||||
home.packages = with pkgs; [
|
||||
dmenu
|
||||
];
|
||||
|
||||
./vanadium/home/firefox.nix
|
||||
./vanadium/home/xmobar.nix
|
||||
xdg.configFile = {
|
||||
"xmonad".source = "${./vm/home/xmonad}";
|
||||
};
|
||||
home.pointerCursor = {
|
||||
x11.enable = true;
|
||||
gtk.enable = true;
|
||||
name = "Posy_Cursor_Black";
|
||||
package = pkgs.posy-cursors;
|
||||
size = 72;
|
||||
};
|
||||
})
|
||||
];
|
||||
}
|
||||
|
||||
|
|
@ -93,5 +115,21 @@ in
|
|||
users.mutableUsers = false;
|
||||
me.password = "";
|
||||
}
|
||||
|
||||
{
|
||||
# Me
|
||||
programs.fish.enable = true;
|
||||
nix.settings.trusted-users = ["leana"];
|
||||
users.users."leana" = {
|
||||
isNormalUser = true;
|
||||
home = "/home/leana";
|
||||
description = "Leana";
|
||||
group = "leana";
|
||||
extraGroups = ["wheel"];
|
||||
shell = pkgs.fish;
|
||||
openssh.authorizedKeys.keys = config.users.users.root.openssh.authorizedKeys.keys;
|
||||
};
|
||||
users.groups.leana = {};
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue