wip
This commit is contained in:
parent
308bdbebf9
commit
badcf3aa40
43 changed files with 1972 additions and 253 deletions
|
|
@ -1,9 +1,10 @@
|
|||
{pkgs, ...}: {
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
services.printing.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
gnome.adwaita-icon-theme
|
||||
gnome.gnome-themes-extra
|
||||
adwaita-icon-theme
|
||||
gnome-themes-extra
|
||||
firefox-wayland
|
||||
librewolf
|
||||
discord
|
||||
|
|
|
|||
|
|
@ -2,7 +2,8 @@
|
|||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./common.nix
|
||||
./dbus.nix
|
||||
|
|
@ -29,7 +30,7 @@
|
|||
variant = "";
|
||||
layout = "us";
|
||||
};
|
||||
excludePackages = [pkgs.xterm];
|
||||
excludePackages = [ pkgs.xterm ];
|
||||
# videoDrivers = ["amdgpu"];
|
||||
libinput = {
|
||||
enable = true;
|
||||
|
|
@ -51,15 +52,16 @@
|
|||
programs = {
|
||||
hyprland = {
|
||||
enable = true;
|
||||
withUWSM = true; # recommended for most users
|
||||
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
||||
xwayland = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
waybar = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
package = pkgs.waybar.overrideAttrs (oldAttrs: {
|
||||
mesonFlags = oldAttrs.mesonFlags ++ ["-Dexperimental=true"];
|
||||
mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
|
||||
});
|
||||
};
|
||||
thunar = {
|
||||
|
|
|
|||
|
|
@ -1,11 +1,13 @@
|
|||
{lib, ...}: {
|
||||
{ lib, ... }:
|
||||
{
|
||||
imports = [
|
||||
./zerotier.nix
|
||||
./firewall.nix
|
||||
./wireless.nix
|
||||
# ./wireless.nix
|
||||
./networkmanager.nix
|
||||
];
|
||||
|
||||
zerotier.enable = lib.mkDefault true;
|
||||
firewall.enable = lib.mkDefault true;
|
||||
wireless.enable = lib.mkDefault false;
|
||||
# wireless.enable = lib.mkDefault false;
|
||||
}
|
||||
|
|
|
|||
29
common/networking/networkmanager.nix
Normal file
29
common/networking/networkmanager.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
||||
sops.secrets."wireless.env" = { };
|
||||
networking = {
|
||||
networkmanager = {
|
||||
enable = true;
|
||||
ensureProfiles = {
|
||||
environmentFiles = [ config.sops.secrets."wireless.env".path ];
|
||||
profiles = {
|
||||
home-wifi = {
|
||||
connection.id = "home-wifi";
|
||||
connection.type = "wifi";
|
||||
wifi.ssid = "$home_uuid";
|
||||
wifi-security = {
|
||||
auth-alg = "open";
|
||||
key-mgmt = "wpa-psk";
|
||||
psk = "$home_psk";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -2,10 +2,12 @@
|
|||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./bluetooth.nix
|
||||
../networking/wireless.nix
|
||||
# ../networking/wireless.nix
|
||||
../networking/networkmanager.nix
|
||||
];
|
||||
options = {
|
||||
laptop.enable = lib.mkEnableOption "Enables Laptop options";
|
||||
|
|
@ -19,6 +21,6 @@
|
|||
services.tlp.enable = true;
|
||||
|
||||
bluetooth.enable = true;
|
||||
wireless.enable = true;
|
||||
# wireless.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
30
common/nixos/tuigreet.nix
Normal file
30
common/nixos/tuigreet.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
default_session = {
|
||||
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --remember --asterisks --container-padding 2 --time --time-format '%I:%M %p | %a • %h | %F' --cmd Hyprland";
|
||||
# command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland";
|
||||
user = "greeter";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [ greetd.tuigreet ];
|
||||
|
||||
systemd.services.greetd.serviceConfig = {
|
||||
Type = "idle";
|
||||
StandardInput = "tty";
|
||||
StandardOutput = "tty";
|
||||
StandardError = "journal"; # Without this errors will spam on screen
|
||||
# Without these bootlogs will spam on screen
|
||||
TTYReset = true;
|
||||
TTYVHangup = true;
|
||||
TTYVTDisallocate = true;
|
||||
};
|
||||
security.pam.services.greetd.enableGnomeKeyring = true;
|
||||
# To prevent getting stuck at shutdown
|
||||
systemd.extraConfig = "DefaultTimeoutStopSec=10s";
|
||||
|
||||
}
|
||||
9
common/nixos/variables-config.nix
Normal file
9
common/nixos/variables-config.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
options = {
|
||||
var = lib.mkOption {
|
||||
type = lib.types.attrs;
|
||||
default = { };
|
||||
};
|
||||
};
|
||||
}
|
||||
18
common/style/vars/candlekeep.nix
Normal file
18
common/style/vars/candlekeep.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
rounding = 15;
|
||||
gaps-in = 10;
|
||||
gaps-out = 10 * 2;
|
||||
active-opacity = 1;
|
||||
inactive-opacity = 0.89;
|
||||
blur = true;
|
||||
border-size = 3;
|
||||
animation-speed = "medium"; # "fast" | "medium" | "slow"
|
||||
fetch = "fastfetch"; # "nerdfetch" | "neofetch" | "pfetch" | "none"
|
||||
|
||||
bar = {
|
||||
position = "top"; # "top" | "bottom"
|
||||
transparent = true;
|
||||
transparentButtons = false;
|
||||
floating = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue