Commit graph

32 commits

Author SHA1 Message Date
d4e12d46b3
Flake, flake-part+easy-host, remove unused inputs
IF YOU ARE NOT ME: I would not use this configuration. In the past I
would feel confident telling you to drop in your own host and be off to
the races, but right now users are in a state which required hard coding
some of my nominal preferences. Read on for more specifics

Completely refactors the flake.nix part of the repo. This removes my
strange legacy code for directory-based hosts+users in favor of using
easy-host and flake-parts.

As a result of this some specialArgs were lost, namely the list of users
and the username being passed. I think this is the right way to go in
the short term, but it has lead to some hardcoded values. Namely "pan"
is created as a user regardless of configuration

In tandem with this is the deprecation of some modules which had inputs
in flake which I wasn't using. I'm sure there is a better way to do
this, but I didn't like downloading and caching them every time when I
knew I wasn't using them.

I'm currently very unhappy with the users part of this change, but that
wasn't the goal of this branch. I will revisit in a larger commit.
2025-11-19 09:38:33 -08:00
f5962d1d27
Niri, Hypr, Flake Bump, tuigreet, init niri
Sets up a config for Niri which involved both the host and user config
settings. It's a semi basic set up to be improved on further later.

This also needs to bump flake so that niri can be added to the flake
update. I don't know what the flake bump date was at this point, so I'll
have to bump it again soon.

This needs to break apart the "waylandcompositors" service to allow niri
and hypr to better fit the directory structure. Otherwise Hypr is
unchanged.

need to update the tuigreet default WM based on the currently selected
one. Currently prioritizes Hyprland > Niri because I didn't want to
write assert code...
2025-05-22 09:27:37 -07:00
66ba9163cb
Flake update 2025-03-12, remove Lix (build-time) 2025-03-12 22:32:46 -07:00
9ad9e42199
Flake update 2025-01-17, remove system = system 2025-01-22 10:14:01 -08:00
dfb064e92b
Lix, switch to lix from nix, bump flake 2024-11-29 02:09:18 -08:00
d994e11918
System, dynamic users for host, removes user.name
adds a new specialArg to hosts: usernameList, which is a list of users
determined through user/user.nix in the host/hostname dir.

This touches syncthing, tuigreet, jibril, shells, and system

removes the user.name field, and converts user.timezone to
system.timezone. This is to move user content off of the host.

This old system is replaced with dynamic user creation based on the
usernameList variable

Because this removes the users.users.defaultUser shells now use the
(more appropriate) users.defaultUserShell
2024-11-28 13:55:44 -08:00
6124a298eb
System, get hostname from directory structure 2024-11-25 13:21:06 -08:00
0e5c6ab2c2
Users, use directory-driven users in flake.nix
This converts from the old manually defined users in flake.nix to a
dynamically defined users based on the directory structure. This is the
same as ba5fd48 but for users instead of hosts.
2024-11-25 09:55:24 -08:00
ba5fd48569
Hosts, Use directory-driven hosts in flake.nix
This adds some code to flake.nix to read the directory of hosts/ and
find all hosts based on their host.nix file, and set the hostname based
on the directory.

I don't know enough about hostnames to know what are valid characters,
but in the future this could allow a hostname such as "servers/madoka"
which may be an issue. For now the structure is simple enough of
"hosts/name" resulting in hostname "name"

Another commit is planned which will do the same thing for users
2024-11-14 13:58:59 -08:00
86bc28d6d4
Merge home-manager into nixos
Previously the home-manager and nixos sections of my config had been
separated into different branches on the same repository. This commit
merges the home-manager modules into the directory, and convert the
"systems" that used to be on each branch into hosts and users.

The goal of this change is to make it easier to see the hosts and users
paradigm, as well as limit the number of locations the git repository is
installed. Additionally, having different branches tracking different
changes was silly for a git repository.
2024-11-11 21:01:02 -08:00
65282e05c9
Global, Hypr, Systems, Flake update 2024-10-21
Refactored systems to be dependant on host. So that jibril and onizuka
can have separate profiles. Doing this split up the systems/ folder, and
also forced a flake update to test. This was done midway through the
hypr rework, and would have been difficult to decouple, so I just did a
big commit instead <3

Refactored the entire hypr system to use settings and nix rather than
its native config. This is working and tested on Jibril, but is missing
the scripts used for switching workspaces on Onizuka.
2024-10-24 10:35:36 -07:00
f2e9bf0fc2
Flake update 2024-07-15, and hypr cachix fix 2024-07-15 18:37:14 -07:00
1fdf2b9462 Bump flakes, use hyprland?submodules=1 2024-05-26 17:42:47 -07:00
d5d7b5ce7c Bump flakes, use hyprland?submodules=1 2024-05-26 16:55:15 -07:00
ffada2703c Refactor codebase to use nix modules 2024-04-18 02:42:11 -07:00
JuliaLange
c97d94408e Add kitty, obs, and scripts skeleton code
Also refactors some flake.nix code to not use dictionaries
2024-04-18 02:37:51 -07:00
a43df02076 Fix errors so system builds 2024-04-09 00:00:42 -07:00
cc95386f1a Refactor modules style 2024-04-07 17:08:48 -07:00
ed2a7f94cf Add sops-nix for secret management 2024-04-07 00:33:49 -07:00
af12ea65e3 Reformat flake.nix for cleaner management 2024-03-22 02:54:25 -07:00
408461407e Pass input variable 2024-03-17 16:50:13 -07:00
a5c524ed33 Add anime-launcher, remove commented code in flake
Add anime-launcher because it needs to be installed at the system level
to interact with /etc/hosts configuration.

Remove commented code as it wasn't being used to overlay packages, and
can be easily researched later
2024-03-17 16:14:40 -07:00
JuliaLange
b6b6a956ee Switch to upstream repo, change xonsh config 2024-03-16 11:12:22 -07:00
f40ef29d04 Add steam 2024-03-05 21:31:57 -08:00
langedev
8f96dbd78a Restore content 2024-02-21 14:51:00 -08:00
langedev
5f2b93e522 Squashed commit of the following:
commit b56a956345dbe9cc152097b540436a74fee3a844
Author: langedev <public@daltonlange.com>
Date:   Wed Feb 21 14:31:11 2024 -0800

    Fix typo

commit 38aadf56730fb7d7a9ddbf704d024061c43983b3
Author: langedev <public@daltonlange.com>
Date:   Wed Feb 21 14:24:49 2024 -0800

    testing refactoring
2024-02-21 14:48:45 -08:00
JuliaLange
48c4277b9d change eww to ags 2024-02-16 21:32:55 -08:00
JuliaLange
7b32e3330c expands hypr config into different parts, makes it cool too 2024-02-16 21:29:53 -08:00
langedev
8428e4fe84 fix desktop environment 2023-12-04 17:40:50 -08:00
langedev
f10217bbae Add hyprland 2023-11-20 01:31:41 -08:00
langedev
0cc3e1fc29 Initial commit lol 2023-11-19 19:31:04 -08:00
langedev
ed3d2e8ef8 Initial commit lol 2023-11-19 19:03:46 -08:00