flake: remove suites from flake

This commit is contained in:
Infinidoge 2023-07-25 20:22:56 -04:00
parent 934cd7f895
commit 07216e2fa3
9 changed files with 66 additions and 115 deletions

View file

@ -1,4 +1,4 @@
{ config, self, lib, pkgs, suites, profiles, inputs, ... }:
{ config, self, lib, pkgs, profiles, inputs, ... }:
let
inherit (lib) flatten optional mkIf;
ifGraphical = lib.optionals config.info.graphical;
@ -6,18 +6,30 @@ let
in
{
imports = flatten [
(with suites; [ develop ])
(with profiles.develop.programming; [
haskell
java
kotlin
lua
nim
python
racket
rust
zig
])
];
home = { config, main, suites, profiles, ... }: {
home = { config, main, profiles, ... }: {
imports = flatten [
(with suites; [
base
(ifGraphical' graphic)
])
(with profiles; [
htop
(ifGraphical' [
kitty
rofi
themeing
flameshot
])
])
./config

View file

@ -4,13 +4,7 @@
openssh.authorizedKeys.keys = import ./ssh-keys.nix;
};
home-manager.users.root = { suites, profiles, ... }: {
imports = lib.lists.flatten [
(with suites; [
base
])
];
home-manager.users.root = { ... }: {
programs.ssh.matchBlocks = {
"server.doge-inc.net" = {
identityFile = "/root/.ssh/id_25519";