we be walkin

This commit is contained in:
martyTF 2025-12-18 11:07:40 +01:00
parent 0db960aec4
commit 44a2f3ee01
8 changed files with 71 additions and 49 deletions

View file

@ -18,9 +18,12 @@
# Include the results of the hardware scan. # Include the results of the hardware scan.
./imports.nix ./imports.nix
]; ];
programs.walker.enable = true; # programs.walker.enable = true;
environment.pathsToLink = [ "/share/applications" "/share/xdg-desktop-portal" ]; environment.pathsToLink = [
"/share/applications"
"/share/xdg-desktop-portal"
];
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave # on your system were taken. Its perfectly fine and recommended to leave

View file

@ -15,41 +15,39 @@
}; };
outputs = outputs =
{ inputs@{
self, self,
nixpkgs, nixpkgs,
home-manager, home-manager,
walker, walker,
... ...
}@inputs: }:
let let
pkgs = nixpkgs.legacyPackages.x86_64-linux; pkgs = nixpkgs.legacyPackages.x86_64-linux;
in in
{ {
nixosConfigurations = { nixosConfigurations = {
# marty-pc = nixpkgs.lib.nixosSystem { marty-pc = nixpkgs.lib.nixosSystem {
# system = "x86_64-linux"; system = "x86_64-linux";
# specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
# modules = [ modules = [
# ./marty-pc.nix ./marty-pc.nix
# ./configuration.nix ./configuration.nix
# ./user/marty.nix ./user/marty.nix
# home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
# walker.homeManagerModules.default ];
# ]; };
# }; marty-server = nixpkgs.lib.nixosSystem {
# marty-server = nixpkgs.lib.nixosSystem { system = "x86_64-linux";
# system = "x86_64-linux"; specialArgs = { inherit inputs; };
# specialArgs = { inherit inputs; }; modules = [
# modules = [ ./marty-server.nix
# ./marty-server.nix ./configuration.nix
# ./configuration.nix ./user/marty.nix
# ./user/marty.nix home-manager.nixosModules.home-manager
# home-manager.nixosModules.home-manager
# walker.homeManagerModules.default
# ]; ];
# }; };
marty-latitude = nixpkgs.lib.nixosSystem { marty-latitude = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
@ -58,8 +56,6 @@
./configuration.nix ./configuration.nix
./user/marty.nix ./user/marty.nix
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
walker.nixosModules.default
]; ];
}; };
}; };

View file

@ -14,6 +14,7 @@
}; };
home-manager = { home-manager = {
extraSpecialArgs = { inherit inputs; };
useGlobalPkgs = true; useGlobalPkgs = true;
useUserPackages = true; useUserPackages = true;
@ -23,29 +24,38 @@
}; };
# PREVIOUSLY HARDWARE-CONFIGURATION.NIX # PREVIOUSLY HARDWARE-CONFIGURATION.NIX
imports = imports = [
[ (modulesPath + "/installer/scan/not-detected.nix") (modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; boot.initrd.availableKernelModules = [
"xhci_pci"
"ahci"
"usb_storage"
"sd_mod"
"rtsx_pci_sdmmc"
];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" = {
{ device = "/dev/disk/by-uuid/867e1bdf-87c8-4f74-9a9e-c2d897644518"; device = "/dev/disk/by-uuid/867e1bdf-87c8-4f74-9a9e-c2d897644518";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/boot" = fileSystems."/boot" = {
{ device = "/dev/disk/by-uuid/D9F7-437B"; device = "/dev/disk/by-uuid/D9F7-437B";
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ]; options = [
}; "fmask=0077"
"dmask=0077"
swapDevices =
[ { device = "/dev/disk/by-uuid/8dff6670-2f63-44e3-a2e5-1966ebbd4fbf"; }
]; ];
};
swapDevices = [
{ device = "/dev/disk/by-uuid/8dff6670-2f63-44e3-a2e5-1966ebbd4fbf"; }
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # 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 # (the default) this is the recommended approach. When using systemd-networkd it's

View file

@ -3,6 +3,8 @@
lib, lib,
pkgs, pkgs,
modulesPath, modulesPath,
home-manager,
inputs,
... ...
}: }:
@ -20,6 +22,7 @@
}; };
home-manager = { home-manager = {
extraSpecialArgs = { inherit inputs; };
useGlobalPkgs = true; useGlobalPkgs = true;
useUserPackages = true; useUserPackages = true;
users = { users = {

View file

@ -3,6 +3,8 @@
lib, lib,
pkgs, pkgs,
modulesPath, modulesPath,
home-manager,
inputs,
... ...
}: }:
@ -20,6 +22,7 @@
}; };
home-manager = { home-manager = {
extraSpecialArgs = { inherit inputs; };
useGlobalPkgs = true; useGlobalPkgs = true;
useUserPackages = true; useUserPackages = true;
users = { users = {

View file

@ -1,4 +1,9 @@
{ config, pkgs, inputs, ... }: {
config,
pkgs,
inputs,
...
}:
{ {
# Home Manager needs a bit of information about you and the paths it should # Home Manager needs a bit of information about you and the paths it should
@ -78,6 +83,8 @@
imports = [ imports = [
./window_manager ./window_manager
inputs.walker.homeManagerModules.default
]; ];
# Let Home Manager install and manage itself. # Let Home Manager install and manage itself.
programs.home-manager.enable = true; programs.home-manager.enable = true;

View file

@ -6,7 +6,8 @@
}: }:
{ {
programs.rofi = { programs.walker = {
enable = true; enable = true;
runAsService = true;
}; };
} }

View file

@ -21,7 +21,7 @@
xdg.portal = { xdg.portal = {
enable = true; enable = true;
configPackages = [ pkgs.xdg-desktop-portal-hyprland ]; configPackages = [ pkgs.xdg-desktop-portal-hyprland ];
extraPortals = [ pkgs.xdg-desktop-portal-hyprland ]; extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];
}; };
programs = { programs = {
kitty = { kitty = {
@ -35,7 +35,6 @@
enable = true; enable = true;
settings = { settings = {
exec-once = [ exec-once = [
"elephant"
]; ];
"$mod" = "SUPER"; "$mod" = "SUPER";
bind = [ bind = [