Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
079787e809 | ||
|
|
e22083fd39 | ||
|
|
9afa94aebf | ||
|
|
b0c2c2e780 | ||
|
|
03ea8da475 | ||
|
|
63d9c50b5e | ||
|
|
2eb92dc3ff | ||
|
|
408b7c50f0 |
14 changed files with 108 additions and 17 deletions
|
|
@ -25,5 +25,10 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } (inputs.import-tree ./modules);
|
||||
outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
imports = [
|
||||
inputs.home-manager.flakeModules.home-manager
|
||||
(inputs.import-tree ./modules)
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,14 +5,20 @@
|
|||
}:
|
||||
let
|
||||
mods = with self.nixosModules; [
|
||||
user
|
||||
packages
|
||||
agenix
|
||||
base_services
|
||||
boot
|
||||
core
|
||||
easyroam
|
||||
myStylix
|
||||
packages
|
||||
pipewire
|
||||
programs
|
||||
stylixTargets
|
||||
stylix_fonts
|
||||
tlp
|
||||
user
|
||||
zsh
|
||||
/etc/nixos/hardware-configuration.nix
|
||||
];
|
||||
in
|
||||
|
|
|
|||
3
modules/home/#home.nix#
Normal file
3
modules/home/#home.nix#
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{inputs, ...} : {
|
||||
|
||||
}
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
flake.homeModules.emacs = { pkgs, ... }: {
|
||||
programs.emacs = {
|
||||
enable = true;
|
||||
packages = pkgs.emacs-pgtk;
|
||||
package = pkgs.emacs-pgtk;
|
||||
extraConfig = ''
|
||||
;; -*- lexical-binding: t; -*-
|
||||
(setq make-backup-files nil)
|
||||
|
|
|
|||
12
modules/home/programs/fuzzel.nix
Normal file
12
modules/home/programs/fuzzel.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{...}: {
|
||||
flake.homeModules.fuzzel = {
|
||||
programs.fuzzel = {
|
||||
enable = true;
|
||||
settings = {
|
||||
main = {
|
||||
dpi_aware = "no";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -3,7 +3,9 @@
|
|||
programs.ghostty = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
systemd.enable = true;
|
||||
settings = {
|
||||
quit-after-last-window-closed = false;
|
||||
window-padding-x = 15;
|
||||
window-padding-y = 15;
|
||||
confirm-close-surface = false;
|
||||
|
|
|
|||
11
modules/home/programs/git.nix
Normal file
11
modules/home/programs/git.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{ ... }: {
|
||||
flake.homeModules.git = {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
settings = {
|
||||
user.name = "lucy";
|
||||
user.email = "lucykaufmann@protonmail.com";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
{inputs, ...}: {
|
||||
flake.homeModules.homeStylix = {
|
||||
imports = [ inputs.stylix.homeModules.stylix ];
|
||||
stylix.targets = {
|
||||
ghostty.enable = true;
|
||||
fuzzel.enable = true;
|
||||
gtk.enable = true;
|
||||
niri.enable = true;
|
||||
emacs.enable = true;
|
||||
nixcord.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,15 @@
|
|||
{ ... }: {
|
||||
flake.nixosModules.core = {
|
||||
hardware.bluetooth = {
|
||||
enable = true;
|
||||
powerOnBoot = false;
|
||||
input.General.ClassicBondedOnly = false;
|
||||
settings = {
|
||||
General = {
|
||||
Experimental = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
time.timeZone = "Europe/Berlin";
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
i18n.extraLocaleSettings = {
|
||||
|
|
@ -16,7 +26,7 @@
|
|||
security = {
|
||||
rtkit.enable = true;
|
||||
polkit.enable = true; # polkit
|
||||
# polkit.enablePkexecWrapper = true;
|
||||
polkit.enablePkexecWrapper = true;
|
||||
};
|
||||
networking.networkmanager.enable = true;
|
||||
nix.settings.experimental-features = [
|
||||
|
|
|
|||
|
|
@ -6,22 +6,16 @@
|
|||
stow
|
||||
ufetch
|
||||
rbw
|
||||
emacs-pgtk
|
||||
tinty
|
||||
pinentry-gnome3
|
||||
git
|
||||
nixd
|
||||
nixfmt
|
||||
xournalpp
|
||||
rnote
|
||||
btop
|
||||
chromium
|
||||
fuzzel
|
||||
quickshell
|
||||
wl-clipboard
|
||||
adw-gtk3
|
||||
papirus-icon-theme
|
||||
apple-cursor
|
||||
polkit_gnome
|
||||
xwayland-satellite
|
||||
nemo
|
||||
|
|
@ -38,8 +32,6 @@
|
|||
jq
|
||||
nmgui
|
||||
kdePackages.qtdeclarative
|
||||
ghostty
|
||||
rnote
|
||||
gsettings-desktop-schemas
|
||||
glib
|
||||
];
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
{ inputs, self, ... }: {
|
||||
flake.nixosModules.user = {
|
||||
flake.nixosModules.user = { pkgs, ... }: {
|
||||
imports = [
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
];
|
||||
users.users."lucy" = {
|
||||
shell = pkgs.zsh;
|
||||
isNormalUser = true;
|
||||
description = "lucy";
|
||||
extraGroups = [
|
||||
|
|
@ -14,12 +15,20 @@
|
|||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.extraSpecialArgs = { inherit inputs; };
|
||||
home-manager.users.lucy = {
|
||||
home.username = "lucy";
|
||||
home.homeDirectory = "/home/lucy";
|
||||
home.stateVersion = "25.11";
|
||||
|
||||
};
|
||||
home-manager.sharedModules = with self.homeModules; [
|
||||
nixcord
|
||||
ghostty
|
||||
niri
|
||||
emacs
|
||||
git
|
||||
homeStylix
|
||||
fuzzel
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
6
modules/system/services/base.nix
Normal file
6
modules/system/services/base.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{ ... }: {
|
||||
flake.nixosModules.base_services = {
|
||||
services.upower.enable = true;
|
||||
services.blueman.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -6,7 +6,17 @@
|
|||
stylix = {
|
||||
enable = true;
|
||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
|
||||
|
||||
cursor = {
|
||||
name = "macOS";
|
||||
package = pkgs.apple-cursor;
|
||||
size = 24;
|
||||
};
|
||||
icons = {
|
||||
enable = true;
|
||||
dark = "Papirus-Dark";
|
||||
light = "Papirus-Light";
|
||||
package = pkgs.papirus-icon-theme;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
25
modules/system/stylix/fonts.nix
Normal file
25
modules/system/stylix/fonts.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ ... }: {
|
||||
flake.nixosModules.stylix_fonts = { pkgs, config, ... }: {
|
||||
stylix.fonts = {
|
||||
serif = {
|
||||
package = config.stylix.fonts.monospace.package;
|
||||
name = config.stylix.fonts.monospace.name;
|
||||
};
|
||||
|
||||
sansSerif = {
|
||||
package = config.stylix.fonts.monospace.package;
|
||||
name = config.stylix.fonts.monospace.name;
|
||||
};
|
||||
|
||||
monospace = {
|
||||
package = pkgs.iosevka;
|
||||
name = "Iosevka";
|
||||
};
|
||||
|
||||
emoji = {
|
||||
package = pkgs.noto-fonts-color-emoji;
|
||||
name = "Noto Color Emoji";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue