Compare commits
No commits in common. "bf25a52e74b0a1599a39f67db7845f2547ec2613" and "a41bba380a11406408cce5f7550c32e7c669d35e" have entirely different histories.
bf25a52e74
...
a41bba380a
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
flake.lock
|
||||
hardware-configuration.nix
|
@ -7,12 +7,12 @@
|
||||
# home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/release-23.11.tar.gz";
|
||||
# in
|
||||
{
|
||||
# imports =
|
||||
# [ # Include the results of the hardware scan.
|
||||
# # ./hardware-configuration.nix
|
||||
# # (import "${home-manager}/nixos")
|
||||
# # <home-manager>/nixos
|
||||
# ];
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
# (import "${home-manager}/nixos")
|
||||
# <home-manager>/nixos
|
||||
];
|
||||
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
|
49
flake.lock
49
flake.lock
@ -1,49 +0,0 @@
|
||||
{
|
||||
"nodes": {
|
||||
"home-manager": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1706981411,
|
||||
"narHash": "sha256-cLbLPTL1CDmETVh4p0nQtvoF+FSEjsnJTFpTxhXywhQ=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "652fda4ca6dafeb090943422c34ae9145787af37",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"ref": "release-23.11",
|
||||
"repo": "home-manager",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1701282334,
|
||||
"narHash": "sha256-MxCVrXY6v4QmfTwIysjjaX0XUhqBbxTWWB4HXtDYsdk=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "057f9aecfb71c4437d2b27d3323df7f93c010b7e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "23.11",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"home-manager": "home-manager",
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
@ -13,7 +13,6 @@
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./configuration.nix
|
||||
./hardware/starscream-hw.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
|
@ -1,39 +0,0 @@
|
||||
# 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, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" "wl" ];
|
||||
boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/b9b84795-44a7-46c7-803b-0e26cac8ee6f";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/CB3C-90B6";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-uuid/1c45df54-fb11-4ff6-8765-ed7f33679c98"; }
|
||||
];
|
||||
|
||||
# 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
|
||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.enp0s20u2i1.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
24
home.nix
24
home.nix
@ -23,7 +23,6 @@
|
||||
pkgs.wget
|
||||
pkgs.yt-dlp
|
||||
pkgs.mpv
|
||||
pkgs.nerdfonts
|
||||
# pkgs.gnupg
|
||||
# pkgs.python3
|
||||
(pkgs.python3.withPackages(
|
||||
@ -68,7 +67,6 @@
|
||||
# (python3.withPackages(
|
||||
# ps: with ps; [epc sexpdata six pynput inflect PyQt6 PyQt6-Qt6 PyQt6-sip]))
|
||||
# ];
|
||||
fonts.fontconfig.enable = true;
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "mir";
|
||||
@ -104,17 +102,17 @@
|
||||
};
|
||||
|
||||
programs.gpg = {
|
||||
enable = true;
|
||||
package = pkgs.gnupg.overrideAttrs (orig: {
|
||||
version = "2.4.0";
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://gnupg/gnupg/gnupg-2.4.0.tar.bz2";
|
||||
hash = "sha256-HXkVjdAdmSQx3S4/rLif2slxJ/iXhOosthDGAPsMFIM=";
|
||||
};
|
||||
});
|
||||
# agent = {
|
||||
# pinentryFlavor = "gnome3";
|
||||
# };
|
||||
enable = true;
|
||||
package = pkgs.gnupg.overrideAttrs (orig: {
|
||||
version = "2.4.0";
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://gnupg/gnupg/gnupg-2.4.0.tar.bz2";
|
||||
hash = "sha256-HXkVjdAdmSQx3S4/rLif2slxJ/iXhOosthDGAPsMFIM=";
|
||||
};
|
||||
});
|
||||
# agent = {
|
||||
# pinentryFlavor = "gnome3";
|
||||
# };
|
||||
};
|
||||
|
||||
services.gpg-agent = {
|
||||
|
Loading…
Reference in New Issue
Block a user