This commit is contained in:
Grigory Shipunov 2022-06-08 18:47:49 +02:00
parent 3a40a3af28
commit 3924624e75
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C
5 changed files with 38 additions and 24 deletions

30
flake.lock generated
View file

@ -23,11 +23,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1653399543, "lastModified": 1654475993,
"narHash": "sha256-qLFw8U3xop5U5KtYGykOVa0oKHmTYg3TaNB043GMIks=", "narHash": "sha256-bGymMoL5Ut7KC9y2zO7/14y01xUqmSehbig2yBl8Sxw=",
"owner": "astro", "owner": "astro",
"repo": "microvm.nix", "repo": "microvm.nix",
"rev": "309e172528cb6589210c2b19f0f8fc15a0fe2384", "rev": "322acf99b1520ae803f84f2bfa305231adedc344",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -38,11 +38,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1653581809, "lastModified": 1654593855,
"narHash": "sha256-Uvka0V5MTGbeOfWte25+tfRL3moECDh1VwokWSZUdoY=", "narHash": "sha256-c+SyXvj7THre87OyIdZfRVR+HhI/g1ZDrQ3VUtTuHkU=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "83658b28fe638a170a19b8933aa008b30640fbd1", "rev": "033bd4fa9a8fbe0c68a88e925d9a884161044b25",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -54,11 +54,11 @@
}, },
"nixpkgs-21_11": { "nixpkgs-21_11": {
"locked": { "locked": {
"lastModified": 1653132211, "lastModified": 1654346688,
"narHash": "sha256-5ugEYisGqixwarfn3BJvuWDnO6gT/AoxlsA6jnG8Fv8=", "narHash": "sha256-Y7QtZkfdxTvACCvWmDjpN6qOf4OKkZATufHcJP2VMKM=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b5991e4971523a5fcc9413b9003b58e5c15aa7d8", "rev": "2de556c4cd46a59e8ce2f85ee4dd400983213d45",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -70,11 +70,11 @@
}, },
"nixpkgs-22_05": { "nixpkgs-22_05": {
"locked": { "locked": {
"lastModified": 1653460991, "lastModified": 1654373220,
"narHash": "sha256-8MgFe84UUKw5k5MybirNH0S+oSluN2cRQGt+ZkW+dxQ=", "narHash": "sha256-3vKFnZz2oYHo4YcelaNOhO4XQ2jiIEXrp1s4w+e773c=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "0c3bf3a5c3ab6be29138b88900c417660a284fbd", "rev": "d6cb04299ce8964290ae7fdcb87aa50da0500b5c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -100,11 +100,11 @@
"nixpkgs-22_05": "nixpkgs-22_05" "nixpkgs-22_05": "nixpkgs-22_05"
}, },
"locked": { "locked": {
"lastModified": 1653462763, "lastModified": 1654401128,
"narHash": "sha256-n0beO7WNvAeEtTtnetzQCaGs615tU/DfM97k8r/7bUw=", "narHash": "sha256-uCdQ2fzIPGakHw2TkvOncUvCl7Fo7z/vagpDWYooO7s=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "7385b12722ce903e477878147794bed9040227e2", "rev": "f075361ecbde21535b38e41dfaa28a28f160855c",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -70,6 +70,11 @@
uid = 1000; uid = 1000;
}; };
programs.wireshark = {
enable = true;
package = pkgs.wireshark;
};
# 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

@ -27,7 +27,7 @@
"DefaultNotificationSetting" = 2; "DefaultNotificationSetting" = 2;
"BackgroundModeEnabled" = false; "BackgroundModeEnabled" = false;
"DefaultSearchProviderEnabled" = true; "DefaultSearchProviderEnabled" = true;
"DefaultSearchProviderSearchURL" = "https://duckduckgo.com/?q={searchTerms}"; "DefaultSearchProviderSearchURL" = "https://google.com/?q={searchTerms}";
"SearchSuggestEnable" = false; "SearchSuggestEnable" = false;
}; };
}; };

View file

@ -1,23 +1,26 @@
{ pkgs, lib, ... }: { pkgs, lib, ... }:
{ {
environment.systemPackages = with pkgs; [ nfs-utils ];
services.rpcbind.enable = true; services.rpcbind.enable = true;
systemd.mounts = { systemd.mounts = [{
type = "nfs"; type = "nfs";
mountConfig = { mountConfig = {
Options = "noatime"; Options = "noatime";
}; };
what = "10.13.37.5:/"; what = "10.13.37.5:/";
where = "/mnt/dvb"; where = "/mnt/dvb";
}; }];
systemd.automounts = { systemd.automounts = [{
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
requires = [ "wg-quick-wg-dvb.service" ];
automountConfig= { automountConfig= {
TimeoutIdleSec = "600"; TimeoutIdleSec = "600";
}; };
where = "/mnt/dvb"; where = "/mnt/dvb";
}; }];
} }

View file

@ -11,16 +11,15 @@
firefox-wayland firefox-wayland
dino dino
alacritty alacritty
kitty
xclip xclip
flameshot flameshot
wl-clipboard wl-clipboard
brightnessctl brightnessctl
pulseaudio-ctl
feh feh
mpv mpv
zathura zathura
pulsemixer pulsemixer
pulseaudioFull
screen-message screen-message
cmus cmus
gtk-engine-murrine gtk-engine-murrine
@ -43,7 +42,6 @@
monoid monoid
spleen spleen
terminus_font terminus_font
iosevka
creep creep
corefonts corefonts
dina-font dina-font
@ -76,11 +74,18 @@
}; };
# Enable sound. # Enable sound.
sound.enable = true;
security.rtkit.enable = true; security.rtkit.enable = true;
hardware.pulseaudio = {
zeroconf.discovery.enable = true;
extraClientConf = ''
autospawn=yes
'';
};
services.pipewire = { services.pipewire = {
enable = true; enable = true;
alsa.enable = true; alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true; pulse.enable = true;
}; };
@ -128,4 +133,5 @@
programs.bash.vteIntegration = true; programs.bash.vteIntegration = true;
services.upower.enable = true; services.upower.enable = true;
qt5.platformTheme = "gnome";
} }