Compare commits
No commits in common. "73ce9d8f58fd6834257b228bce0c5f7475406e30" and "16ff90497957377cf76b330a8bd95988586669df" have entirely different histories.
73ce9d8f58
...
16ff904979
7 changed files with 3 additions and 132 deletions
|
@ -22,7 +22,10 @@
|
|||
|
||||
animations = { enabled = false; };
|
||||
decoration = {
|
||||
rounding = 10;
|
||||
active_opacity = 1.0;
|
||||
inactive_opacity = 1.0;
|
||||
fullscreen_opacity = 1.0;
|
||||
drop_shadow = false;
|
||||
dim_inactive = false;
|
||||
blur.enabled = false;
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ../common/configuration.nix ./hardware-configuration.nix ];
|
||||
|
||||
networking.hostName = "ahrc-pc";
|
||||
|
||||
programs.bash.promptInit = ''
|
||||
if [ "$(whoami)" = root ]; then
|
||||
color=35
|
||||
else
|
||||
color=32
|
||||
user='\u@'
|
||||
fi
|
||||
PS1="\[\033[0m\](\[\033[1;''${color}m\]''${user}\h\[\033[0m\] \[\033[1;34m\]\W\[\033[0m\])\\$ "
|
||||
'';
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
}
|
|
@ -1,48 +0,0 @@
|
|||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/6371008b-3551-4dd6-8429-9f1d07275c74";
|
||||
fsType = "xfs";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/7912-C8B9";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
};
|
||||
|
||||
fileSystems."/var" =
|
||||
{ device = "/dev/disk/by-uuid/893e72c7-c904-43ea-b5ee-e1cea18b8268";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/home" =
|
||||
{ device = "/dev/disk/by-uuid/329a472f-945b-49da-b840-bc2fb37d2e03";
|
||||
fsType = "btrfs";
|
||||
};
|
||||
|
||||
fileSystems."/mnt/inthdd" =
|
||||
{ device = "/dev/disk/by-uuid/2f7d6ae6-acda-410e-9c02-992eb64a8c7f";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
swapDevices = [ {
|
||||
device = "/swapfile";
|
||||
size = 8 * 1024;
|
||||
} ];
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
|
||||
networking.interfaces.enp42s0.wakeOnLan.enable = true;
|
||||
}
|
|
@ -1,33 +0,0 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ../common/home.nix ];
|
||||
|
||||
home.stateVersion = "24.05";
|
||||
|
||||
programs.zsh = {
|
||||
localVariables = {
|
||||
PROMPT = ''
|
||||
╭─[%F{magenta}%B%n@%m%f%b]──[%F{blue}%B%50<...<%5~%<<%b%f]──[%B%?%b]
|
||||
╰─[%B%j%b%# '';
|
||||
};
|
||||
};
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
settings = {
|
||||
"$col_accentdark" = "rgb(9933ff)"
|
||||
"$col_accentlight" = "rgb(d966ff)"
|
||||
"$col_inactive" = "rgba(80808080)"
|
||||
|
||||
animations.enabled = true;
|
||||
decoration = {
|
||||
inactive_opacity = 0.9;
|
||||
drop_shadow = true;
|
||||
dim_inactive = true;
|
||||
blur.enabled = true;
|
||||
};
|
||||
gestures.workspace_swipe = false;
|
||||
misc.animate_manual_resizes = true;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -36,7 +36,6 @@
|
|||
];
|
||||
|
||||
services.udisks2.enable = true;
|
||||
services.libinput.enable = true;
|
||||
|
||||
programs.hyprland.enable = true;
|
||||
programs.zsh.enable = true;
|
||||
|
|
|
@ -138,7 +138,6 @@
|
|||
settings = {
|
||||
monitor = ", highrr, 0x0, 1";
|
||||
|
||||
"$col_urgent" = "rgb(ffd966)";
|
||||
"$terminal" = "kitty";
|
||||
"$browser" = "firefox";
|
||||
"$locker" = "hyprlock";
|
||||
|
@ -158,11 +157,6 @@
|
|||
focus_preferred_method = 1;
|
||||
movefocus_cycles_fullscreen = false;
|
||||
};
|
||||
decoration = {
|
||||
rounding = 10;
|
||||
active_opacity = 1.0;
|
||||
fullscreen_opacity = 1.0;
|
||||
};
|
||||
general = {
|
||||
border_size = 2;
|
||||
"col.inactive_border" = "$col_inactive";
|
||||
|
@ -288,18 +282,6 @@
|
|||
", XF86MonBrightnessDown, exec, swayosd-client --brightness=lower"
|
||||
];
|
||||
};
|
||||
|
||||
extraConfig = ''
|
||||
submap = resize
|
||||
bind = , escape, submap, reset
|
||||
bind = SUPER Alt_L, R, submap, reset
|
||||
binde = , A, resizeactive, -25 0
|
||||
binde = , Z, resizeactive, 0 -25
|
||||
binde = , S, resizeactive, 0 25
|
||||
binde = , D, resizeactive, 25 0
|
||||
submap = reset
|
||||
bind = SUPER Alt_L, R, submap, resize
|
||||
'';
|
||||
};
|
||||
|
||||
programs.hyprlock = {
|
||||
|
|
13
flake.nix
13
flake.nix
|
@ -8,19 +8,6 @@
|
|||
};
|
||||
|
||||
outputs = inputs@{ self, nixpkgs, home-manager, ... }: {
|
||||
nixosConfigurations.ahrc-pc = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./ahrc-pc/configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.ahurac = import ./ahrc-pc/home.nix;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
nixosConfigurations.ahrc-laptop = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
|
|
Loading…
Reference in a new issue