Skip to content

Commit

Permalink
rename plix to poppy
Browse files Browse the repository at this point in the history
  • Loading branch information
noriah committed Feb 25, 2025
1 parent 449308f commit add5f55
Show file tree
Hide file tree
Showing 8 changed files with 64 additions and 15 deletions.
File renamed without changes.
7 changes: 6 additions & 1 deletion etc/neofetch/config.conf
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,12 @@ ascii_distro="auto"
# Example:
# ascii_colors=(distro) - Ascii is colored based on Distro colors.
# ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors.
ascii_colors=(15 16 209 29)
# 1 secondary fur
# 2 nose
# 3 primary fur
# 4 eyes

ascii_colors=(15 16 209 39)

# Bold ascii logo
# Whether or not to bold the ascii logo.
Expand Down
2 changes: 1 addition & 1 deletion nix/home/hosts/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

./ersa.nix
./niji.nix
./plix.nix
./poppy.nix
./vyxn.nix
];
}
10 changes: 8 additions & 2 deletions nix/home/hosts/plix.nix → nix/home/hosts/poppy.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ with lib;
let
den_pkgs = pkgs.callPackage ../../packages { };

cfg = config.den.hosts.plix;
cfg = config.den.hosts.poppy;
in
{
options.den.hosts.plix.enable = mkEnableOption "plix host";
options.den.hosts.poppy.enable = mkEnableOption "poppy host";

config = mkIf cfg.enable {
den = {
Expand Down Expand Up @@ -41,9 +41,13 @@ in
};
};

services.gnome-keyring.enable = true;

home.packages = with pkgs; [
zip

gcr

# net util
rdap
whois
Expand All @@ -59,6 +63,8 @@ in
# google-chrome
librewolf

seahorse

# info
obsidian
];
Expand Down
6 changes: 5 additions & 1 deletion nix/home/modules/apps/rust.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ in

config = mkIf cfg.enable {

home.packages = [ pkgs.rust-analyzer ];
home.packages = with pkgs; [
cargo
# rustup
rust-analyzer
];

home.sessionVariables = {
RUSTUP_HOME = "${config.den.dir.opt}/rustup";
Expand Down
37 changes: 31 additions & 6 deletions nix/nixos/plix/config.nix → nix/nixos/poppy/config.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).

{ config, pkgs, ... }:

{
Expand All @@ -12,10 +8,11 @@
];

# Bootloader.
boot.loader.timeout = 1;
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;

networking.hostName = "plix"; # Define your hostname.
networking.hostName = "poppy"; # Define your hostname.
networking.domain = "mobile.noriah.dev";
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.

Expand Down Expand Up @@ -48,7 +45,35 @@
services.xserver.enable = true;

# Enable the Budgie Desktop environment.
services.xserver.displayManager.lightdm.enable = true;
services.xserver.displayManager.lightdm = {
enable = true;
greeters.gtk.enable = false;
greeters.slick.enable = false;
greeters.mini = {
enable = true;
user = "vix";
extraConfig = ''
[greeter]
show-password-label = false
show-input-cursor = false
password-alignment = center
invalid-password-text = ???
show-sys-info = true
[greeter-hotkeys]
mod-key = meta
shutdown-key = s
restart-key = r
hubernate-key = h
suspend-key = e
[greeter-theme]
background-image = ""
background-color = "#272822"
window-color = "#FF6F66"
'';
};
};
services.xserver.desktopManager.budgie.enable = true;

# Configure keymap in X11
Expand Down
14 changes: 11 additions & 3 deletions nix/nixos/plix/hardware.nix → nix/nixos/poppy/hardware.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# Do not modify this file! It was generated by ‘nixos-generate-config’
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{
config,
lib,
pkgs,
modulesPath,
...
}:

let
in
# den_pkgs = pkgs.callPackage ../../packages { };
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
Expand Down Expand Up @@ -51,6 +52,13 @@

swapDevices = [ ];

services.udev.extraHwdb = ''
evdev:atkbd:*
KEYBOARD_KEY_3a=key_leftctrl # map capslock to ctrl
KEYBOARD_KEY_38=key_leftmeta # map alt to meta
KEYBOARD_KEY_db=key_leftalt # map meta to alt
'';

# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
Expand Down
3 changes: 2 additions & 1 deletion share/vscode/settings/client.niji.json
Original file line number Diff line number Diff line change
Expand Up @@ -301,5 +301,6 @@
"rust-analyzer.inlayHints.bindingModeHints.enable": true,
"editor.minimap.autohide": false,
"workbench.colorTheme": "vixn dark",
"chat.commandCenter.enabled": false
"chat.commandCenter.enabled": false,
"window.zoomLevel": -1
}

0 comments on commit add5f55

Please sign in to comment.