nix: exorcise all with <expr>; uses
This commit is contained in:
parent
ef59fd800e
commit
912073bee6
67 changed files with 576 additions and 259 deletions
|
|
@ -105,9 +105,7 @@ in
|
|||
"rfkill-release"
|
||||
];
|
||||
|
||||
services.udev.packages = with pkgs; [
|
||||
packages.kaleidoscope-udev-rules
|
||||
];
|
||||
services.udev.packages = [ pkgs.packages.kaleidoscope-udev-rules ];
|
||||
|
||||
hardware.bluetooth = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,8 @@
|
|||
|
||||
my.theme = config.home-manager.users.alarsyo.my.themes.solarizedLight;
|
||||
|
||||
home.packages = with pkgs; [
|
||||
home.packages = builtins.attrValues {
|
||||
inherit (pkgs)
|
||||
# some websites only work there :(
|
||||
chromium
|
||||
|
||||
|
|
@ -19,8 +20,9 @@
|
|||
|
||||
# keyboard goodness
|
||||
chrysalis
|
||||
;
|
||||
|
||||
packages.spot
|
||||
];
|
||||
inherit (pkgs.packages) spot;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,11 @@
|
|||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
let
|
||||
inherit (lib)
|
||||
mkDefault
|
||||
;
|
||||
in
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
|
|
@ -32,5 +36,5 @@
|
|||
[ { device = "/dev/disk/by-uuid/381a9c5e-4d71-45b4-ac62-e7414b3768fc"; }
|
||||
];
|
||||
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
||||
powerManagement.cpuFreqGovernor = mkDefault "ondemand";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -56,9 +56,7 @@ in
|
|||
};
|
||||
my.gui.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
arandr
|
||||
];
|
||||
environment.systemPackages = [ pkgs.arandr ];
|
||||
|
||||
hardware.bluetooth = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,11 @@
|
|||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
let
|
||||
inherit (lib)
|
||||
mkDefault
|
||||
;
|
||||
in
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
|
|
@ -40,7 +44,7 @@
|
|||
|
||||
swapDevices = [ ];
|
||||
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
powerManagement.cpuFreqGovernor = mkDefault "powersave";
|
||||
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,18 +12,20 @@
|
|||
|
||||
my.theme = config.home-manager.users.alarsyo.my.themes.solarizedLight;
|
||||
|
||||
home.packages = with pkgs; [
|
||||
# some websites only work there :(
|
||||
chromium
|
||||
home.packages = builtins.attrValues {
|
||||
inherit (pkgs)
|
||||
# some websites only work there :(
|
||||
chromium
|
||||
|
||||
wineWowPackages.stable
|
||||
darktable
|
||||
|
||||
darktable
|
||||
# dev
|
||||
rustup
|
||||
;
|
||||
|
||||
# dev
|
||||
rustup
|
||||
inherit (pkgs.packages) spot;
|
||||
|
||||
packages.spot
|
||||
];
|
||||
inherit (pkgs.wineWowPackages) stable;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue