Compare commits

..

No commits in common. "01eeb12ec6c100ad323089c35919e3f84340e3eb" and "0710d7d059677a9963be693d950f7c9311f0f44d" have entirely different histories.

9 changed files with 30 additions and 50 deletions

View file

@ -98,7 +98,7 @@
deimos = inputs.self.lib.mkLinuxSystem [
./systems/deimos
./profiles/user0
./profiles/user1
# ./profiles/user1
config.nixosModules.deimos
config.nixosModules.core
config.nixosModules.mantle

View file

@ -3,11 +3,9 @@
inputs,
self,
...
}:
{
}: {
flake.lib = {
mkHome =
modules: system:
mkHome = modules: system:
inputs.home-manager.lib.homeManagerConfiguration {
pkgs = import inputs.nixpkgs {
inherit
@ -24,8 +22,7 @@
modules
;
};
mkLinuxSystem =
modules:
mkLinuxSystem = modules:
inputs.nixpkgs.lib.nixosSystem {
specialArgs = {
flake = {

View file

@ -145,8 +145,8 @@ in
systemMonitor
usbImager
virtManager
# hypr
# wayland
hypr
wayland
theming
polychromatic
dolphin
@ -170,8 +170,9 @@ in
scrcpy
bitwarden
emote
# hypr
# wayland
desktop
hypr
wayland
theming
;
};

View file

@ -1,17 +1,16 @@
{
flake,
osConfig,
pkgs,
...
}:
let
inherit (flake.config.aesthetics.themes) fonts;
inherit (flake.config.machines.devices) deimos;
hostname = osConfig.networking.hostName;
inherit (flake.config.aesthetics.themes)
fonts
;
in
{
confirm-close-surface = false;
window-decoration = if hostname == deimos.name then true else false;
window-decoration = false;
font-size = fonts.sizes.terminal.size0;
font-family = fonts.names.name0;
window-padding-x = 10;

View file

@ -2,19 +2,11 @@
config,
flake,
pkgs,
osConfig,
...
}:
let
configPath = ./config;
settingsPath = import (configPath + /settings.nix) {
inherit
flake
config
osConfig
pkgs
;
};
settingsPath = import (configPath + /settings.nix) { inherit flake pkgs; };
themesPath = import (configPath + /themes.nix) { inherit config flake; };
in
{

View file

@ -27,16 +27,13 @@ let
ceres
]
then
[
user0
user1
]
user0
else if hostname == charon then
[ user1 ]
user1
else if hostname == venus then
[ user2 ]
user2
else
[ ];
"";
in
{
security = {
@ -46,7 +43,9 @@ in
{
keepEnv = true;
noPass = true;
users = userLogic;
users = [
userLogic
];
}
];
};

View file

@ -32,10 +32,10 @@ in
deimos = {
imports = builtins.attrValues {
inherit (modules)
# hypr
# wayland
plasma
sddm
hypr
wayland
# plasma
# sddm
flatpak
xserver
;

View file

@ -10,14 +10,11 @@
libinput = {
enable = true;
touchpad = {
scrollMethod = "twofinger";
naturalScrolling = true;
middleEmulation = true;
accelSpeed = "5";
accelProfile = "adaptive";
disableWhileTyping = true;
tapping = true;
naturalScrolling = false;
};
mouse.accelProfile = "flat";
touchpad.accelProfile = "flat";
};
};
console.useXkbConfig = true;

View file

@ -1,13 +1,8 @@
{
pkgs,
config,
flake,
...
}:
let
inherit (flake.config.machines) devices;
hostname = config.networking.hostName;
in
{
hardware = {
bluetooth = {
@ -25,5 +20,5 @@ in
];
};
};
services.blueman.enable = if hostname == devices.deimos.name then false else true;
services.blueman.enable = true;
}